mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.6k stars 35.36k forks source link

Add deviceorientation control as part of the THREE module #10106

Closed leomeloxp closed 7 years ago

leomeloxp commented 7 years ago
Description of the problem

I just recently started playing with mobile device orientation API for controlling the camera and found that three already has an implementation for this on one of the example pages/code.

My question is: are there any plans to add this to the core library? I'm currently using three with a React app and having it as part of the core library would make things easier.

PS: Obviously I don't mind working on a PR to help pushing this forward but thought I better ask here first as someone could have tried this in the past or maybe there are legitimate reasons for deviceorientation API to not be included on core.

Cheers guys 🙂

Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)

N/A

mrdoob commented 7 years ago

9562