git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
diff --git
a/scene.c
b/scene.c
index
3f2c2ab
..
27fc547
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
if ( diff < 0 ) {
\r
scaling = (diff - -((float)height/2))/(0 - -((float)height/2));
\r
} else {
\r
- scaling =
diff
;
\r
+ scaling =
pow(1.1, diff)
;
\r
}
\r
\r
if ( scaling != 0 ) {
\r
}
\r
\r
if ( scaling != 0 ) {
\r
UCC
git Repository :: git.ucc.asn.au