Ignore:
Timestamp:
Apr 3, 2012, 1:25:03 AM (9 years ago)
Author:
sam
Message:

core: allow to stretch 2D sprits in both X and Y directions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/piece.cpp

    r1135 r1184  
    9494    case PIECE_HUNT:
    9595        data->size = ivec2(48);
    96         data->tileset = Tiler::Register(PNG_TILES, data->size, ivec2(0), 1.0f);
     96        data->tileset = Tiler::Register(PNG_TILES, data->size, ivec2(0), vec2(1.0f));
    9797        data->pieceid = 80 + 20 * pieceid;
    9898        break;
Note: See TracChangeset for help on using the changeset viewer.