JOML
JOML copied to clipboard
A Java math library for OpenGL rendering calculations
One feature that would be helpful would be a simple component-wise mapping function. Useful for performing operations that aren't built-in by default, such as bitwise operations, or more complex operations...
Current normalization code is as follows: ```java public Vector3d normalize(Vector3d dest) { double invLength = 1.0 / length(); dest.x = x * invLength; dest.y = y * invLength; dest.z =...
All of the underlying `MemUtil` functions for copying rely on the read-only interface methods. These now specify the read-only class in their parameters. This should allow for greater flexibility in...
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...
This line is overwriting values instead of setting the fourth row to 0. It should be `destAddr + (i