X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=29eae69b5b66e8242d261008aa3ac8c699869c3e;hp=da5c429f4670e9068a3e2e4f5386cfaa7b9ff8ce;hb=c3d286211e4f462930b4640150e619faf4787c31;hpb=eabaf49b9a5e1edd54de9144408f388ab2762d2b diff --git a/helper.c b/helper.c index da5c429..29eae69 100644 --- a/helper.c +++ b/helper.c @@ -214,18 +214,10 @@ void drawFloor() { for ( int x = -floorSize; x < floorSize; x++ ) { for ( int z = -floorSize; z < floorSize; z++ ) { glColor3f( 1.0, 1.0, 1.0 ); - glVertex3f( (x+1)*squareSize, 0.0, (z+1)*squareSize ); glVertex3f( (x+1)*squareSize, 0.0, z*squareSize ); glVertex3f( x*squareSize, 0.0, z*squareSize ); - glVertex3f( x*squareSize, 0.0, (z+1)*squareSize ); - - - - - - } } glEnd();