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.
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.