repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Phase of Swim
[SugarCubes.git]
/
JackStahl.pde
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);