From 52661f451883ad15876645b6a6219d9d68a0b4cc Mon Sep 17 00:00:00 2001 From: Donovan Hutchence Date: Thu, 15 Feb 2024 12:36:35 +0000 Subject: [PATCH] t (#6054) --- extras/gizmo/rotate-gizmo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/gizmo/rotate-gizmo.js b/extras/gizmo/rotate-gizmo.js index b90358b3969..6a684c64c22 100644 --- a/extras/gizmo/rotate-gizmo.js +++ b/extras/gizmo/rotate-gizmo.js @@ -292,7 +292,7 @@ class RotateGizmo extends TransformGizmo { } _xyzAxisLookAtCamera() { - if (this._camera.projecion === PROJECTION_PERSPECTIVE) { + if (this._camera.projection === PROJECTION_PERSPECTIVE) { tmpV1.copy(this._camera.entity.getPosition()).sub(this.root.getPosition()); tmpQ1.copy(this.root.getRotation()).invert().transformVector(tmpV1, tmpV1); } else {