vizorvr / patches

Patches is a visual programming editor for building WebVR and WebGL experiences.
http://patches.vizor.io
MIT License
200 stars 44 forks source link

fix VRcameraplugin - get default FOV #2064

Open esaruoho opened 6 years ago

esaruoho commented 6 years ago

originally posted by @gmarinov : "refactor ThreeVRCameraPlugin.prototype.findDefaultFov and the way it's called altogether, so that the relevant camera (VR) is updated internally whenever the promise resolves, instead of hacking that back in, through the E2.player global (which I doubt exists anyway)."