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/src/map.cpp

    r1046 r1184  
    137137            /* This is a tileset image file. Associate it with firstgid. */
    138138            data->tilesets[data->ntilers] = Tiler::Register(str, ivec2(32),
    139                                                             ivec2(0), sqrtf(2));
     139                                               ivec2(0), vec2(1.0f, sqrtf(2)));
    140140            data->ntilers++;
    141141            //Log::Debug("new tiler %s\n", str);
Note: See TracChangeset for help on using the changeset viewer.