after12am / eisenscript

A programming language designed for generating awesome structures.
https://after12am.github.io/eisenscript-docs/
MIT License
46 stars 5 forks source link

change internal design of saving current state #11

Closed after12am closed 11 years ago

after12am commented 11 years ago

https://github.com/after12am/eisenscript/blob/master/src/interpreter.js

this.currMatrix = new Matrix4();
this.currHex = Color('#ff0000');
this.currHsv = _.extend(Color({ hue: 0, saturation: 1, value: 1 }), { computed: false });
this.currBlend = { color: null, strength: 0, computed: false };
this.currAlpha = 1;