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

index 167d42c..7171479 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -215,7 +215,6 @@ void drawFloor() {
     for ( int x = -floorSize; x < floorSize; x++ ) {
       for ( int z = -floorSize; z < floorSize; z++ ) {
         glColor3f( 1.0, 1.0, 1.0 );
     for ( int x = -floorSize; x < floorSize; x++ ) {
       for ( int z = -floorSize; z < floorSize; z++ ) {
         glColor3f( 1.0, 1.0, 1.0 );
-        glNormal3d(0, 0, 1);
         
         glTexCoord2f( (x+1)*squareSize,      (z+1)*squareSize );
         glVertex3f  ( (x+1)*squareSize, 0.0, (z+1)*squareSize );
         
         glTexCoord2f( (x+1)*squareSize,      (z+1)*squareSize );
         glVertex3f  ( (x+1)*squareSize, 0.0, (z+1)*squareSize );

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