Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Quake/oculus_sdk.cpp b/Quake/oculus_sdk.cpp
- index 9db8abf..acdabb9 100644
- --- a/Quake/oculus_sdk.cpp
- +++ b/Quake/oculus_sdk.cpp
- @@ -40,7 +40,7 @@ void GetOculusView(float view[3])
- if (!fusion) {
- return;
- }
- - OVR::Quatf q = fusion->GetOrientation();
- + OVR::Quatf q = fusion->GetPredictedOrientation();
- q.GetEulerAngles<OVR::Axis_Y, OVR::Axis_X, OVR::Axis_Z>(&view[1], &view[
- view[0] = (-view[0] * 180.0f) / M_PI;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement