diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2012-05-29 11:18:06 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2012-05-29 11:18:06 +0300 |
| commit | 853f4fcda9eb6f0b908d409ce7806ed704698a5a (patch) | |
| tree | a55b156fd38d1cbc411dac4db22d71e0725b2c37 | |
| parent | 9c76ef7afa3aaaa3f0c8536cddc9d20e595dd2d4 (diff) | |
Fix vector direction flip to turn by 180 degrees
Current buggy behavior turns by 90 degrees
| -rw-r--r-- | lsys.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ function LSystem(axiom, rules, draw_constants) { break; case '|': - U += Math.PI / 2; + U += Math.PI; RUu = true; break; // push and pop branch |
