Procházet zdrojové kódy

Update targetCamera.ts

aWeirdo před 6 roky
rodič
revize
6c1a76fe72
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Cameras/targetCamera.ts

+ 1 - 1
src/Cameras/targetCamera.ts

@@ -311,7 +311,7 @@ export class TargetCamera extends Camera {
             }
 
             if (!this.noRotationConstraint) {
-                var limit = (Math.PI / 2) * 0.95;
+                var limit = 1.570796;
 
                 if (this.rotation.x > limit) {
                     this.rotation.x = limit;