Jelajahi Sumber

Update lightGizmo.ts

sebavan 4 tahun lalu
induk
melakukan
9424f725b8
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      src/Gizmos/lightGizmo.ts

+ 1 - 2
src/Gizmos/lightGizmo.ts

@@ -253,7 +253,6 @@ export class LightGizmo extends Gizmo {
 
         var lines = this._CreateLightLines(3, scene);
         lines.parent = root;
-        lines.position.z = 0.15;
 
         root.scaling.scaleInPlace(LightGizmo._Scale);
         root.rotation.x = Math.PI / 2;
@@ -328,4 +327,4 @@ export class LightGizmo extends Gizmo {
         mesh.rotation.y = Math.PI / 2;
         return root;
     }
-}
+}