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:
a452fcf
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 11:32:29 +0000
(19:32 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 11:32:29 +0000
(19:32 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
64fcdb5
..
cc96c00
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-558,7
+558,7
@@
void idle() {
angle = (int)(angle + 10) % 360;
\r
//angle2 = (int)(angle2 + 10) % 360;
\r
printf("Angle 1: %f, Angle 2: %f\n", angle, angle2);
\r
- sleep(2);
\r
+ sleep(2
5
);
\r
glutPostRedisplay();
\r
}
\r
\r
@@
-599,7
+599,7
@@
int drawFloorRecurse = 10;
\r
void drawSquare(int recurseLevel, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) {
\r
\r
- printf("Recurse level %d", recurseLevel);
\r
+ printf("Recurse level %d
\n
", recurseLevel);
\r
\r
if ( drawFloorRecurse != recurseLevel ) {
\r
GLfloat xm = (x2 - x1) / 2.0;
\r
UCC
git Repository :: git.ucc.asn.au