Cedric Guillemet 4 年之前
父节点
当前提交
e709cfd658
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Gizmos/planeRotationGizmo.ts

+ 1 - 1
src/Gizmos/planeRotationGizmo.ts

@@ -44,7 +44,7 @@ export class PlaneRotationGizmo extends Gizmo {
     private _gizmoMesh: Mesh;
     private _rotationDisplayPlane: Mesh;
     private _dragging: boolean = false;
-    private _angles = new Vector3;
+    private _angles = new Vector3();
 
     private static _rotationGizmoVertexShader = `
         precision highp float;