Closed Rennzie closed 2 years ago
Normalise Node rotation quaternions per the GlTF spec.
We noticed some converted files where invalid when run against the gltf-Validator. The error message:
"code": "ROTATION_NON_UNIT", "message": "Rotation quaternion must be normalized."
Added a normalise function similar to gl-matrix which solves the problem.
gl-matrix
Sorry, I've mixed up branches here. I'll re-open an new PR
Normalise Node rotation quaternions per the GlTF spec.
We noticed some converted files where invalid when run against the gltf-Validator. The error message:
Added a normalise function similar to
gl-matrix
which solves the problem.