Cedric Guillemet преди 4 години
родител
ревизия
391a1544aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Gizmos/planeRotationGizmo.ts

+ 1 - 1
src/Gizmos/planeRotationGizmo.ts

@@ -161,7 +161,7 @@ export class PlaneRotationGizmo extends Gizmo {
                 this._rotationDisplayPlane.setEnabled(true);
 
                 this._rotationDisplayPlane.getWorldMatrix().invertToRef(rotationMatrix);
-                Vector3.TransformCoordinatesToRef(e.dragPlanePoint, rotationMatrix, lastDragPosition)
+                Vector3.TransformCoordinatesToRef(e.dragPlanePoint, rotationMatrix, lastDragPosition);
 
                 this._angles.x = Math.atan2(lastDragPosition.y, lastDragPosition.x) + Math.PI;
                 this._angles.y = 0;