(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 12:44:06 +0000 (20:44 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 12:44:06 +0000 (20:44 +0800)
scene.c

diff --git a/scene.c b/scene.c
index e3004ee..fa17c1f 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -581,9 +581,9 @@ void drawSquare(int recurseLevel, float x1, float y1, float x2, float y2) {
   } else {\r
     glBegin(GL_QUADS);\r
       glVertex3f(x1, 0.0, y1);\r
-      glVertex3f(x1, 0.0, y2);\r
-      glVertex3f(x2, 0.0, y2);\r
       glVertex3f(x2, 0.0, y1);\r
+      glVertex3f(x2, 0.0, y2);\r
+      glVertex3f(x1, 0.0, y2);\r
     glEnd();\r
   }\r
 \r

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