From: Ash Tyndall Date: Tue, 18 Oct 2011 11:05:28 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c70db51f180efe97ad1cbb7bf9364f9e382c312e;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 81c5b56..4018b3b 100644 --- a/scene.c +++ b/scene.c @@ -557,7 +557,7 @@ motion(int x, int y) void idle() { angle = (int)(angle + 10) % 360; //angle2 = (int)(angle2 + 10) % 360; - printf("Angle 1: %d, Angle 2: %d", angle, angle2); + printf("Angle 1: %f, Angle 2: %f\n", angle, angle2); sleep(2); glutPostRedisplay(); }