From 3391b942329fbc2c9be74792e67379f1216113d5 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 29 May 2012 11:37:49 +0300 Subject: comment cleanup --- lsys.js | 5 ----- 1 file changed, 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); -- cgit v1.3.1 From b2a3dbd4e0177a50aa1e5f1cdeff8cb786564df4 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 29 May 2012 12:17:26 +0300 Subject: v0.1.1 --- lsys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsys.js b/lsys.js index c1464b4..1d79dc2 100644 --- a/lsys.js +++ b/lsys.js @@ -1,5 +1,5 @@ /* - * LSystems.JS v0.1 + * LSystems.JS v0.1.1 * Copyright (c) 2012, Yuval Adam * http://yuvadm.github.com/lsys.js/LICENSE */ -- cgit v1.3.1