Looking-Glass / HoloPlayJS_Issues

A repository for feature requests and bug reports for the HoloPlay.js library. This repository doesn't contain source code. You can download the HoloPlay.js library at http://look.glass/threejs
0 stars 0 forks source link

Camera position referenced as local instead of global #12

Open alxdncn opened 5 years ago

alxdncn commented 5 years ago

When getting the camera position for the camera array renders, we use local position instead of global.

alxdncn commented 5 years ago

Use camera.getWorldPosition() and camera.getWorldQuaternion() to get the camera pos/quat in case the camera is actually a child of some other object