This is a modified version of Coral
Here is the what I have done:
I removied this class,becaust I think it is wasting time to convert between point and vector,and most library dont do that.
- add angleBetween() static method.
- add projectOnto() method.
- add scalarTripleProduct() method.
- incrementBy method add scale param.
- rewrite newRotation and appendRotation method ,then when you rotate only the X or Y or Z axis will be quicker.
- add a result parameter to toMatrix3d() method.
- add a determinant33() getter method.
- add transformDirection() method.
- change position getter to getPosition(result) method.
- add slerp() method.
I just start to learn Math. If you know something I did is wrong please tell me ,thank you.