Ignore:
Timestamp:
Sep 12, 2011, 10:17:23 PM (11 years ago)
Author:
Sam Hocevar
Message:

core: rename vec2i to ivec2 and update matrix.h from Lol Engine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/include.cpp

    r643 r682  
    5555      }
    5656    }
    57     vec2i size = im->Size();
     57    ivec2 size = im->Size();
    5858    fprintf(fp,"unsigned char %s[%d*%d]={\n    ",tmp_name, size.x, size.y);
    5959    int x,y,max=size.x*size.y-1;
     
    6161      for (x=0; x<size.x; x++,i++)
    6262      {
    63         fprintf(fp,"%d",(int)im->Pixel(vec2i(x,y)));
     63        fprintf(fp,"%d",(int)im->Pixel(ivec2(x,y)));
    6464        if (i==max)
    6565          fprintf(fp,"};\n\n");
Note: See TracChangeset for help on using the changeset viewer.