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());
             }