Skip to content

Commit

Permalink
Update VREffect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyH2 committed Mar 21, 2024
1 parent 651179c commit 1cfd1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/VREffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ THREE.VREffect = function ( renderer, onError ) {

// The eye's model matrix in head space is the inverse of headToEyeMatrix we calculated above.

eyeMatrixL.getInverse( eyeMatrixL );
eyeMatrixR.getInverse( eyeMatrixR );
eyeMatrixL.invert();//getInverse( eyeMatrixL );
eyeMatrixR.invert();//getInverse( eyeMatrixR );

}

Expand Down

0 comments on commit 1cfd1a0

Please sign in to comment.