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:
2090fa9
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 02:06:37 +0000
(10:06 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 02:06:37 +0000
(10:06 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
27fc547
..
491943b
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-313,7
+313,7
@@
void motion(int x, int y) {
if ( diff < 0 ) {
\r
scaling = (diff - -((float)height/2))/(0 - -((float)height/2));
\r
} else {
\r
- scaling = pow(1.
1
, diff);
\r
+ scaling = pow(1.
00000010101010100100001115
, diff);
\r
}
\r
\r
if ( scaling != 0 ) {
\r
UCC
git Repository :: git.ucc.asn.au