View difference between Paste ID: sLAG4b0J and FGC8qcUg
SHOW: | | - or go back to the newest paste.
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;