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:
6f9b6e0
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 02:56:54 +0000
(10:56 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 02:56:54 +0000
(10:56 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
f544aae
..
d9a4ea3
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-256,8
+256,8
@@
void keyboard(unsigned char key, int x, int y) {
*/
\r
void motion(int x, int y) {
\r
if (moving) {
\r
- zoomFactor += (
x - startx
);
\r
- rotateFactor += (
y - starty
);
\r
+ zoomFactor += (
y - starty
);
\r
+ rotateFactor += (
x - startx
);
\r
startx = x;
\r
starty = y;
\r
glutPostRedisplay();
\r
UCC
git Repository :: git.ucc.asn.au