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
Replying to
Ugh. Doesn't ECMAScript 6 allow you to have typed arrays or something? Have you looked into asm.js?
Replying to
yes can do typed float arrays but that route is a bit extreme just to do something simple like "vec_a+vec_b"
2
Doesn't ES6 also have operator overloads?
1
Show replies

