Jelajahi Sumber

fixed #2953 unnecessary code

orangesuzuki 7 tahun lalu
induk
melakukan
c9e4e5f6d1
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  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());
             }