benvanik / vr.js

NPAPI plugin to expose fun VR devices to Javascript.
Apache License 2.0
498 stars 105 forks source link

Unused code in OculusRiftControls? #30

Closed mrdoob closed 10 years ago

mrdoob commented 10 years ago

This is great by the way! ^^

mrdoob commented 10 years ago

Actually, why is the quaternion code in the effect instead of in the controls?

benvanik commented 10 years ago

I don't think I ever got a chance to finish the controls - they could definitely use some work! I think this code here was supposed to fix it (make you move in the direction of the HMD), but I'm not sure the math worked out right/I couldn't figure out how to transform the threejs scene right :(

mrdoob commented 10 years ago

Ah! Now I understand what you were trying to do :)

mrdoob commented 10 years ago

I'll try to find some time and clean this up.

benvanik commented 10 years ago

Awesome :heart: