spite / WebVR-Extension

Chrome DevTools extension to emulate WebVR API
MIT License
305 stars 43 forks source link

Implementing getLayers #19

Closed AVGP closed 7 years ago

AVGP commented 7 years ago

Uses the layers that are being passed into requestPresent without any additional validation

spite commented 7 years ago

Sweet!

Shouldn't currentLayers be a member of VRDisplay?

AVGP commented 7 years ago

Can make it so :-) Should probably prefix it, like __currentLayers as it's not part of the official API of that object

spite commented 7 years ago

Excellent! Thank you! 👍🏽

I'm going to check if there's something else that can be added for a new release to the Chrome Store.