summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-05-29 11:37:49 +0300
committerYuval Adam <yuv.adm@gmail.com>2012-05-29 11:37:49 +0300
commit3391b942329fbc2c9be74792e67379f1216113d5 (patch)
treee224b5ee991fe64e883d617ab343df3bd572f218
parent853f4fcda9eb6f0b908d409ce7806ed704698a5a (diff)
comment cleanup
-rw-r--r--lsys.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/lsys.js b/lsys.js
index c3e3466..c1464b4 100644
--- a/lsys.js
+++ b/lsys.js
@@ -52,7 +52,6 @@ function LSystem(axiom, rules, draw_constants) {
U -= alpha;
RUu = true;
break;
-
case '&':
L += alpha;
RLu = true;
@@ -61,7 +60,6 @@ function LSystem(axiom, rules, draw_constants) {
L -= alpha;
RLu = true;
break;
-
case '<':
H += alpha;
RHu = true;
@@ -70,12 +68,10 @@ function LSystem(axiom, rules, draw_constants) {
H -= alpha;
RHu = true;
break;
-
case '|':
U += Math.PI;
RUu = true;
break;
- // push and pop branch
case '[':
stack.push(x, y, z, H, L, U, geometry);
geometry = [[x,y,z]];
@@ -92,7 +88,6 @@ function LSystem(axiom, rules, draw_constants) {
y = stack.pop();
x = stack.pop();
break;
- // forward draw
case 'F':
nx = 0, ny = 1, nz = 0;
nc = this.tree.charAt(i+1);