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:
f1c86cd
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 12:02:33 +0000
(20:02 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 12:02:33 +0000
(20:02 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
e2e8cd2
..
c62831e
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-284,7
+284,8
@@
void motion(int x, int y) {
\r
if ( buttonSelected == GLUT_LEFT_BUTTON ) {
\r
// w: rotate, h: zoom
\r
- zoom += (y - starty);
\r
+ zoom += (y - starty);
\r
+ printf("zoom is %f\n", zoom);
\r
} else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {
\r
// w: rotate, h: tilt
\r
camAngle += (y - starty);
\r
UCC
git Repository :: git.ucc.asn.au