Ignore:
Timestamp:
Feb 18, 2011, 1:09:28 AM (10 years ago)
Author:
sam
Message:

Get rid of float3, float4, int3 etc. in favour of GLSL types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/mash.cpp

    r384 r664  
    3333    int duh, pop;
    3434    Piece *pieces[MAX_WIDTH * MAX_HEIGHT];
    35     int2 cells[MAX_WIDTH * MAX_HEIGHT];
     35    vec2i cells[MAX_WIDTH * MAX_HEIGHT];
    3636    int npieces;
    3737    float timer;
     
    8787        {
    8888            /* If piece is still too high, don't start the animation */
    89             int2 shift = data->pieces[n]->GetShift();
     89            vec2i shift = data->pieces[n]->GetShift();
    9090            if (shift.y > 2 || abs(shift.x) > 2)
    9191                allready = 0;
Note: See TracChangeset for help on using the changeset viewer.