git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4ce2f6
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 11:05:28 +0000
(19:05 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 11:05:28 +0000
(19:05 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
81c5b56
..
4018b3b
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-557,7
+557,7
@@
motion(int x, int y)
void idle() {
\r
angle = (int)(angle + 10) % 360;
\r
//angle2 = (int)(angle2 + 10) % 360;
\r
- printf("Angle 1: %
d, Angle 2: %d
", angle, angle2);
\r
+ printf("Angle 1: %
f, Angle 2: %f\n
", angle, angle2);
\r
sleep(2);
\r
glutPostRedisplay();
\r
}
\r
UCC
git Repository :: git.ucc.asn.au