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/thumbs.cpp

    r639 r664  
    5151
    5252#if 0
    53     position = int3(24, 72, 1);
     53    position = vec3i(24, 72, 1);
    5454    bbox[0] = position;
    55     bbox[1] = bbox[0] + int3(384, 384, 0);
     55    bbox[1] = bbox[0] + vec3i(384, 384, 0);
    5656#endif
    5757}
     
    7171    for (int n = 0; n < data->npieces; n++)
    7272    {
    73         int2 p = int2(459, 372 - 27 * n);
     73        vec2i p = vec2i(459, 372 - 27 * n);
    7474        Scene::GetDefault()->AddTile((data->icons << 16) | n, p.x, p.y, 11, 0);
    7575    }
     
    8686        data->text[n] = new Text(NULL, "monsterz/gfx/font1.png");
    8787        Ticker::Ref(data->text[n]);
    88         int3 p = int3(492, 374 - 27 * n, 20);
     88        vec3i p = vec3i(492, 374 - 27 * n, 20);
    8989        data->text[n]->SetPos(p);
    9090    }
Note: See TracChangeset for help on using the changeset viewer.