I got a little problem.
m1 = new Matrix3D(null);
m1.initRotX(20);
console.log(m1);
m1.initRotY(20);
console.log(m1);
this is logging 2 times the same matrix.(the y rot Matrix) when i initialize a new matrix every time it works fine.
Is js threading this and the init function is faster the the log or is there another explenation for this?