daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jul 7th, 2013 127 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/Quake/oculus_sdk.cpp b/Quake/oculus_sdk.cpp
  2. index 9db8abf..acdabb9 100644
  3. --- a/Quake/oculus_sdk.cpp
  4. +++ b/Quake/oculus_sdk.cpp
  5. @@ -40,7 +40,7 @@ void GetOculusView(float view[3])
  6.         if (!fusion) {
  7.                 return;
  8.         }
  9. -       OVR::Quatf q = fusion->GetOrientation();
  10. +       OVR::Quatf q = fusion->GetPredictedOrientation();
  11.         q.GetEulerAngles<OVR::Axis_Y, OVR::Axis_X, OVR::Axis_Z>(&view[1], &view[
  12.  
  13.         view[0] = (-view[0] * 180.0f) / M_PI;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Pastebin PRO 'SUMMER SPECIAL'!
Get 40% OFF Pastebin PRO accounts!
 
Top