Skip to content

Commit

Permalink
t (#6054)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Feb 15, 2024
1 parent 7f9cb58 commit 52661f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/gizmo/rotate-gizmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 52661f4

Please sign in to comment.