We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9898f commit 2086f05Copy full SHA for 2086f05
src/CameraControls.ts
@@ -2803,6 +2803,8 @@ export class CameraControls extends EventDispatcher {
2803
! approxZero( this._focalOffset.z );
2804
if ( affectOffset ) {
2805
2806
+ this._camera.matrix.compose( this._camera.position, this._camera.quaternion, this._camera.scale );
2807
+
2808
_xColumn.setFromMatrixColumn( this._camera.matrix, 0 );
2809
_yColumn.setFromMatrixColumn( this._camera.matrix, 1 );
2810
_zColumn.setFromMatrixColumn( this._camera.matrix, 2 );
0 commit comments