Changeset 3912 for libcaca/trunk


Ignore:
Timestamp:
Nov 16, 2009, 2:14:32 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Don't use float as loop counters
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/triangle.c

    r3909 r3912  
    226226    v1*=(float)th; v2*=(float)th; v3*=(float)th;
    227227   
    228     float x = (float) x1, y = (float) y1;
     228    int x, y;
    229229    float y2y1 = y2-y1;
    230230    float y3y1 = y3-y1;
Note: See TracChangeset for help on using the changeset viewer.