Changed Recti as Rect.

Removed eeAABB in favor of Rectf.
Implemented UIScrollView XML load.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2017-04-16 15:28:36 -03:00
parent 80720302ea
commit 9cf73262f4
67 changed files with 255 additions and 224 deletions

View File

@@ -110,7 +110,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
for ( Int32 my = 0; my < 4; my++ ) {
for( Int32 mx = 0; mx < 8; mx++ ) {
// DestSize as 0,0 will use the SubTexture size
Rock.addFrame( RockId, Sizef( 0, 0 ), Vector2i( 0, 0 ), Recti( mx * 64, my * 64, mx * 64 + 64, my * 64 + 64 ) );
Rock.addFrame( RockId, Sizef( 0, 0 ), Vector2i( 0, 0 ), Rect( mx * 64, my * 64, mx * 64 + 64, my * 64 + 64 ) );
}
}