FishOrBear пре 6 година
родитељ
комит
2b667244a6
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/Cameras/arcRotateCamera.ts

+ 0 - 1
src/Cameras/arcRotateCamera.ts

@@ -1009,7 +1009,6 @@ export class ArcRotateCamera extends TargetCamera {
 
 
             var up = this.upVector;
             var up = this.upVector;
             if (this.allowUpsideDown && sinb < 0) {
             if (this.allowUpsideDown && sinb < 0) {
-                up = up.clone();
                 up = up.negate();
                 up = up.negate();
             }
             }