Sfoglia il codice sorgente

Merge pull request #6667 from FishOrBear/patch-1

Clean
David Catuhe 6 anni fa
parent
commit
5bf85020e9
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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();
             }
             }