aboutsummaryrefslogtreecommitdiff
path: root/src/external/OculusSDK/LibOVR/Include/Extras
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-07-19 09:42:48 +0200
committerRay <raysan5@gmail.com>2016-07-19 09:42:48 +0200
commit5139948ef935dae9999ae668d093a7614b1428eb (patch)
treedd5f456e669d3aca03b9751575ba3f65a9349c3f /src/external/OculusSDK/LibOVR/Include/Extras
parentaf46222b1257049abd17df6e9e57a8d041845c5f (diff)
downloadraylib-5139948ef935dae9999ae668d093a7614b1428eb.tar.gz
raylib-5139948ef935dae9999ae668d093a7614b1428eb.zip
Updated to Oculus PC SDK 1.6
Diffstat (limited to 'src/external/OculusSDK/LibOVR/Include/Extras')
-rw-r--r--src/external/OculusSDK/LibOVR/Include/Extras/OVR_Math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/external/OculusSDK/LibOVR/Include/Extras/OVR_Math.h b/src/external/OculusSDK/LibOVR/Include/Extras/OVR_Math.h
index 718c21cb..89293ff8 100644
--- a/src/external/OculusSDK/LibOVR/Include/Extras/OVR_Math.h
+++ b/src/external/OculusSDK/LibOVR/Include/Extras/OVR_Math.h
@@ -1501,9 +1501,9 @@ public:
if (len == 0)
twist->w = T(1); // identity
else
- twist /= len; // normalize
+ *twist /= len; // normalize
- return *this * twist.Inverted();
+ return *this * twist->Inverted();
}
// Normalized linear interpolation of quaternions