diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2012-05-29 11:37:49 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2012-05-29 11:37:49 +0300 |
| commit | 3391b942329fbc2c9be74792e67379f1216113d5 (patch) | |
| tree | e224b5ee991fe64e883d617ab343df3bd572f218 | |
| parent | 853f4fcda9eb6f0b908d409ce7806ed704698a5a (diff) | |
comment cleanup
| -rw-r--r-- | lsys.js | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |
