We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a59ec commit cbdd4adCopy full SHA for cbdd4ad
packages/dev/serializers/src/glTF/2.0/glTFUtilities.ts
@@ -204,7 +204,7 @@ export function ConvertToRightHandedRotation(value: Quaternion): Quaternion {
204
* q is the input quaternion, and q' is the converted quaternion.
205
* Reference: https://d3cw3dd2w32x2b.cloudfront.net/wp-content/uploads/2015/01/matrix-to-quat.pdf
206
*/
207
- if (value.x * value.x + value.y * value.y < 0.5) {
+ if (value.x * value.x + value.y * value.y > 0.5) {
208
const absX = Math.abs(value.x);
209
const absY = Math.abs(value.y);
210
if (absX > absY) {
0 commit comments