|
@@ -440,9 +440,9 @@
|
|
|
this.inertialPanningY = 0;
|
|
|
|
|
|
this._localDirection.copyFromFloats(this.inertialPanningX, this.inertialPanningY, this.inertialPanningY);
|
|
|
+ this._localDirection.multiplyInPlace(this.panningAxis);
|
|
|
this._viewMatrix.invertToRef(this._cameraTransformMatrix);
|
|
|
Vector3.TransformNormalToRef(this._localDirection, this._cameraTransformMatrix, this._transformedDirection);
|
|
|
- this._transformedDirection.multiplyInPlace(this.panningAxis);
|
|
|
this.target.addInPlace(this._transformedDirection);
|
|
|
}
|
|
|
|