Ignore:
Timestamp:
Aug 27, 2011, 8:29:36 PM (10 years ago)
Author:
sam
Message:

core: rename vec2i to ivec2 etc. to better match GLSL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/mash.cpp

    r758 r863  
    3636    int duh, pop;
    3737    Piece *pieces[MAX_WIDTH * MAX_HEIGHT];
    38     vec2i cells[MAX_WIDTH * MAX_HEIGHT];
     38    ivec2 cells[MAX_WIDTH * MAX_HEIGHT];
    3939    int npieces;
    4040    float timer;
     
    9090        {
    9191            /* If piece is still too far, don't start the animation */
    92             vec2i shift = data->pieces[n]->GetShift();
     92            ivec2 shift = data->pieces[n]->GetShift();
    9393            if (abs(shift.y) + abs(shift.x) > 0)
    9494                allready = 0;
Note: See TracChangeset for help on using the changeset viewer.