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 8bad3a4 commit 89c39ccCopy full SHA for 89c39cc
src/helpers/CameraHelper.js
@@ -158,10 +158,10 @@ CameraHelper.prototype.update = function () {
158
159
var w = 1, h = 1;
160
161
- // we need just camera projection matrix
+ // we need just camera projection matrix inverse
162
// world matrix must be identity
163
164
- camera.projectionMatrix.copy( this.camera.projectionMatrix );
+ camera.projectionMatrixInverse.copy( this.camera.projectionMatrixInverse );
165
166
// center / target
167
0 commit comments