repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
254fbb6
)
Unbreaking master
author
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Tue, 20 Aug 2013 11:03:31 +0000
(
04:03
-0700)
committer
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Tue, 20 Aug 2013 11:03:31 +0000
(
04:03
-0700)
MarkSlee.pde
patch
|
blob
|
blame
|
history
diff --git
a/MarkSlee.pde
b/MarkSlee.pde
index 0adbe5589d680b8f9b5e4866067316587dd12f53..4361a549b5b569331844ef1c4fd26f566a895083 100644
(file)
--- a/
MarkSlee.pde
+++ b/
MarkSlee.pde
@@
-368,6
+368,10
@@
class CrossSections extends SCPattern {
addModulator(x).trigger();
addModulator(y).trigger();
addModulator(z).trigger();
addModulator(x).trigger();
addModulator(y).trigger();
addModulator(z).trigger();
+ addParams();
+ }
+
+ protected void addParams() {
addParameter(xr);
addParameter(yr);
addParameter(zr);
addParameter(xr);
addParameter(yr);
addParameter(zr);
@@
-388,11
+392,16
@@
class CrossSections extends SCPattern {
z.setDuration(10000 - 9000*p.getValuef());
}
}
z.setDuration(10000 - 9000*p.getValuef());
}
}
+
+ float xv, yv, zv;
+
+ protected void updateXYZVals() {
+ xv = x.getValuef();
+ yv = y.getValuef();
+ zv = z.getValuef();
+ }
public void run(int deltaMs) {
public void run(int deltaMs) {
- float xv = x.getValuef();
- float yv = y.getValuef();
- float zv = z.getValuef();
float xlv = 100*xl.getValuef();
float ylv = 100*yl.getValuef();
float zlv = 100*zl.getValuef();
float xlv = 100*xl.getValuef();
float ylv = 100*yl.getValuef();
float zlv = 100*zl.getValuef();