immersive-web / webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
Apache License 2.0
381 stars 84 forks source link

Clean up XRViewerPose #103

Closed takahirox closed 4 years ago

takahirox commented 4 years ago

XRReferenceSpace._transformBasePoseMatrix() takes two arguments

https://github.com/immersive-web/webxr-polyfill/blob/master/src/api/XRReferenceSpace.js#L104

but XRViewerPose passes three arguments. This PR removes the unnecessary third argument.

toji commented 4 years ago

LGTM.