(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 07:24:05 +0000 (15:24 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 07:24:05 +0000 (15:24 +0800)
helper.c

index aed5e9a..e72c64e 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -227,6 +227,8 @@ void drawFloor() {
         for ( int z = 0; z <= textureTileSize; z += subTileWidth ) {
           glColor3f( 1.0, 1.0, 1.0 );
 
+          printf("Creating a subtile. Width: %d, x: %d, z: %d, tx: %d, tz: %d\n", subTileWidth, x, z, tx, tz);
+
           glTexCoord2f( tx+textureTileSize, tz+textureTileSize );
           glVertex3f  ( (x+1)*subTileWidth, 0.0, (z+1)*subTileWidth );
 

UCC git Repository :: git.ucc.asn.au