소스 검색

fixed #2953 unnecessary code

orangesuzuki 7 년 전
부모
커밋
c9e4e5f6d1
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/Cameras/babylon.targetCamera.ts

+ 0 - 2
src/Cameras/babylon.targetCamera.ts

@@ -287,8 +287,6 @@ module BABYLON {
                 // Computing target and final matrix
                 this.position.addToRef(this._transformedReferencePoint, this._currentTarget);
             } else {
-                //update the up vector!
-                BABYLON.Vector3.TransformNormalToRef(this._defaultUpVector, this._cameraRotationMatrix, this.upVector);
                 this._currentTarget.copyFrom(this._getLockedTargetPosition());
             }