repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677f5e1
)
Fix Phase of Swim
author
Jack Stahl
<jack@asana.com>
Tue, 20 Aug 2013 08:35:03 +0000
(
01:35
-0700)
committer
Jack Stahl
<jack@asana.com>
Tue, 20 Aug 2013 08:35:03 +0000
(
01:35
-0700)
JackStahl.pde
patch
|
blob
|
blame
|
history
diff --git
a/JackStahl.pde
b/JackStahl.pde
index 05fbe3da27f2197bed833ff9e5916d0acd037e91..e098b3f217107cf0c4ce4ae1fdcef4b9e286fd19 100644
(file)
--- a/
JackStahl.pde
+++ b/
JackStahl.pde
@@
-43,7
+43,7
@@
class Swim extends SCPattern {
beat = (beat + 1) % 4;
}
prevRamp = ramp;
- float phase = (beat+ramp) / 2.0 *
4
* PI;
+ float phase = (beat+ramp) / 2.0 *
2
* PI;
float denominator = max(xAngle.getValuef() + yAngle.getValuef() + zAngle.getValuef(), 1);