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:
df62573
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 01:37:50 +0000
(09:37 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 01:37:50 +0000
(09:37 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
b4795f1
..
9e3cb2d
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-311,8
+311,7
@@
void motion(int x, int y) {
float scaling;
\r
\r
if ( diff < 0 ) {
\r
- scaling = (x - (float)-height)/(0 - (float)-height);
\r
- printf("Diff is %f, Scaling by %f on all axii\n", diff, scaling);
\r
+ scaling = (diff - (float)-height)/(0 - (float)-height);
\r
} else {
\r
scaling = diff;
\r
}
\r
UCC
git Repository :: git.ucc.asn.au