OVR: Change the way to walk and rotate with the controller
[mercenary-reloaded.git] / src / libovr / helper.cpp
1
2 #include <Extras/OVR_Math.h>
3 using namespace OVR;
4 #include "helper.h"
5
6 void ovrOrientation2yawpitchroll(ovrQuatf orientation, float *yaw, float *pitch, float *roll)
7 {
8         Quatf orient = orientation;
9         orient.GetYawPitchRoll(yaw, pitch, roll);
10 }
11