repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Squashed commit of the following:
[SugarCubes.git]
/
BenMorrow.pde
diff --git
a/BenMorrow.pde
b/BenMorrow.pde
index 7024148aab6a5d681bd5cd37ad371e3b8814fbef..51945a8de70b68902a180e0979a8996d43a43cbb 100644
(file)
--- a/
BenMorrow.pde
+++ b/
BenMorrow.pde
@@
-59,7
+59,7
@@
class TowerParams extends SCPattern
for(int i=0; i<towerSize ;i++)
{
t= model.towers.get(i);
for(int i=0; i<towerSize ;i++)
{
t= model.towers.get(i);
- for(Point p : t.points)
+ for(
LX
Point p : t.points)
{
if(p.y<towerParams.get(i).getValuef()*200)
{
{
if(p.y<towerParams.get(i).getValuef()*200)
{
@@
-72,7
+72,7
@@
class TowerParams extends SCPattern
public void clearALL()
{
public void clearALL()
{
- for(Point p : model.points)
+ for(
LX
Point p : model.points)
{
colors[p.index] = 0;
}
{
colors[p.index] = 0;
}
@@
-117,7
+117,7
@@
class Sandbox extends SCPattern
public void doDraw(int c,long col)
{
Tower t= model.towers.get((int) c);
public void doDraw(int c,long col)
{
Tower t= model.towers.get((int) c);
- for(Point p : t.points)
+ for(
LX
Point p : t.points)
{
colors[p.index] = (int) col;
}
{
colors[p.index] = (int) col;
}
@@
-186,7
+186,7
@@
class GranimTestPattern2 extends GranimPattern
}
public void clearALL()
{
}
public void clearALL()
{
- for(Point p : model.points)
+ for(
LX
Point p : model.points)
{
colors[p.index] = 0;
}
{
colors[p.index] = 0;
}