From: Ash Tyndall Date: Tue, 18 Oct 2011 12:44:32 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4bce415af0e0be9392c2725a8fc4f9a3cc0fad11;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index fa17c1f..e3004ee 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(x2, 0.0, y1); - glVertex3f(x2, 0.0, y2); glVertex3f(x1, 0.0, y2); + glVertex3f(x2, 0.0, y2); + glVertex3f(x2, 0.0, y1); glEnd(); }