소스 검색

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 6 년 전
부모
커밋
4ea1e0fc36
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;