From: Ash Tyndall Date: Tue, 18 Oct 2011 12:44:06 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=700ecfcbbc4af70d352426d9ef65e02673ffefbb --- diff --git a/scene.c b/scene.c index e3004ee..fa17c1f 100644 --- a/scene.c +++ b/scene.c @@ -581,9 +581,9 @@ void drawSquare(int recurseLevel, float x1, float y1, float x2, float y2) { } else { glBegin(GL_QUADS); glVertex3f(x1, 0.0, y1); - glVertex3f(x1, 0.0, y2); - glVertex3f(x2, 0.0, y2); glVertex3f(x2, 0.0, y1); + glVertex3f(x2, 0.0, y2); + glVertex3f(x1, 0.0, y2); glEnd(); }