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:
521d3ab
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 01:33:54 +0000
(09:33 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 01:33:54 +0000
(09:33 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
d73df53
..
45a71a9
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-310,7
+310,7
@@
void motion(int x, int y) {
float diff = (y - starty);
\r
float scaling;
\r
\r
- if (
scaling
< 0 ) {
\r
+ if (
diff
< 0 ) {
\r
scaling = (x - -height)/(0 - -height);
\r
} else {
\r
scaling = diff;
\r
UCC
git Repository :: git.ucc.asn.au