gl-matrix
gl-matrix copied to clipboard
fromQuat2 allocates a vector on every call
fromQuat2 should use a temporary shared vector instead of allocating on every call, so that it's nicer to the GC
Looks like there's other functions that also do this, such as:
- mat4 getRotation
- quat2 fromMat4