diff --git a/src/math/Matrix4.ts b/src/math/Matrix4.ts index 559d1ad9..97c6fbf8 100644 --- a/src/math/Matrix4.ts +++ b/src/math/Matrix4.ts @@ -362,7 +362,7 @@ export class Matrix4 { if (Math.abs(up.z) > 0.9999) { zAxis.x += 0.0001; } else { - zAxis.z += 0.0001; + zAxis.z -= 0.0001; } zAxis.normalize(); }