repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another sine and projection to sinephere, working
[SugarCubes.git]
/
_PandaDriver.pde
diff --git
a/_PandaDriver.pde
b/_PandaDriver.pde
index 2d28cd693e12bea5c300d0c604dcfbe0ba07f40a..24afa20438d80422bab8bef435901781824beec0 100644
(file)
--- a/
_PandaDriver.pde
+++ b/
_PandaDriver.pde
@@
-264,7
+264,7
@@
public static class PandaDriver {
private int mapStrip(Strip s, int direction, int[] points, int pi) {
if (direction == FORWARD) {
private int mapStrip(Strip s, int direction, int[] points, int pi) {
if (direction == FORWARD) {
- for (Point p : s.points) {
+ for (
LX
Point p : s.points) {
points[pi++] = p.index;
}
} else if (direction == BACKWARD) {
points[pi++] = p.index;
}
} else if (direction == BACKWARD) {
@@
-291,6
+291,10
@@
public static class PandaDriver {
}
}
}
}
}
}
+
+ public boolean isEnabled() {
+ return this.enabled;
+ }
public void disable() {
setEnabled(false);
public void disable() {
setEnabled(false);