Changeset 792 for trunk/deushax


Ignore:
Timestamp:
Aug 1, 2011, 12:23:28 AM (10 years ago)
Author:
sam
Message:

tiler: ensure AddTile() and BlitTile() accept vec3i arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/debugsprite.cpp

    r790 r792  
    5858    vec3i pos = (vec3i)data->pos;
    5959
    60     Scene::GetDefault()->AddTile(data->tileset, 31,
    61                                  pos.x - 16, pos.y, pos.z, 1);
    62     Scene::GetDefault()->AddTile(data->tileset, 15,
    63                                  pos.x - 16, pos.y, pos.z + 32, 1);
     60    Scene::GetDefault()->AddTile(data->tileset, 31, pos + vec3i(-16, 0, 0), 1);
     61    Scene::GetDefault()->AddTile(data->tileset, 15, pos + vec3i(-16, 0, 32), 1);
    6462}
    6563
Note: See TracChangeset for help on using the changeset viewer.