weshoke/versor.js

"new" keyword required

Closed this issue · 1 comments

With the way objects like E3.Vec are currently implemented, the "new" keyword is required to create them.

var e1 = new E3.Vec(1, 0, 0); // unit vector
var e2 = new E3.Vec(0, 1, 0); // unit vector
var e12 = e1.op(e2);          // unit bivector

Fixed in the new versor.js file