Doing math in javascript is painful. Needing to alloc just to do ez Vector3 calculations as well no op overload support is faff city supreme
Conversation
Ugh. Doesn't ECMAScript 6 allow you to have typed arrays or something? Have you looked into asm.js?
1
yes can do typed float arrays but that route is a bit extreme just to do something simple like "vec_a+vec_b"
2
Replying to
not sure really. does javascript abide by emca 100%? right now definitely not supported
2
1
I don't thing es6 is widely supported :( FireFox probably has the best support for it atm.

