(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 06:36:48 +0000 (14:36 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 06:36:48 +0000 (14:36 +0800)
helper.c

index 79cc5d8..98838f3 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -220,7 +220,7 @@ void drawFloor() {
       for ( int z = -floorSize; z < floorSize; z++ ) {
         glColor3f( 1.0, 1.0, 1.0 );
         
       for ( int z = -floorSize; z < floorSize; z++ ) {
         glColor3f( 1.0, 1.0, 1.0 );
         
-        glTexCoord2f( 1.0, 1.0 );
+        glTexCoord2f( 6.0, 1.0 );
         glVertex3f  ( (x+1)*squareSize, 0.0, (z+1)*squareSize );
 
         glTexCoord2f( 1.0, 0.0 );
         glVertex3f  ( (x+1)*squareSize, 0.0, (z+1)*squareSize );
 
         glTexCoord2f( 1.0, 0.0 );

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