JOML
JOML copied to clipboard
Optimize various things
Optimizations:
- Math.PI + Math.PI -> Math.PI_TIMES_2
- multiply with inverse numbers instead of dividing (excl. single-use scenarios)
- move some calculations outside of loops
In the future I'm planning to do optimization with fma too, but currently i don't have the time for that.