From: Ash Tyndall Date: Tue, 18 Oct 2011 11:32:29 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=9288707184d4d55b5302ebdb0dd6055cf883cd15 --- diff --git a/scene.c b/scene.c index 64fcdb5..cc96c00 100644 --- a/scene.c +++ b/scene.c @@ -558,7 +558,7 @@ void idle() { angle = (int)(angle + 10) % 360; //angle2 = (int)(angle2 + 10) % 360; printf("Angle 1: %f, Angle 2: %f\n", angle, angle2); - sleep(2); + sleep(25); glutPostRedisplay(); } @@ -599,7 +599,7 @@ int drawFloorRecurse = 10; void drawSquare(int recurseLevel, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { - printf("Recurse level %d", recurseLevel); + printf("Recurse level %d\n", recurseLevel); if ( drawFloorRecurse != recurseLevel ) { GLfloat xm = (x2 - x1) / 2.0;