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 912496c commit 4a3d1e6Copy full SHA for 4a3d1e6
packages/xr/src/store.ts
@@ -680,7 +680,7 @@ export function createXRStore<T extends XRElementImplementations>(options?: XRSt
680
}
681
const xrCamera = xrManager.getCamera()
682
//update camera aspect ratio
683
- xrCamera.aspect = xrCamera.projectionMatrix.elements[0] / xrCamera.projectionMatrix.elements[5]
+ xrCamera.aspect = xrCamera.projectionMatrix.elements[5] / xrCamera.projectionMatrix.elements[0]
684
685
const currentLayers = session?.renderState.layers
686
if (currentLayers == null) {
0 commit comments