summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-01-14 01:07:39 +0100
committerLéo Lam <leo@leolam.fr>2022-01-14 02:27:18 +0100
commitfa2c98ddd55ea9d8fb7f8540ab3dfce4b3721a8a (patch)
treea34661f62266d52df31221d134e25200086c6684 /lib
parent56e8fea33c4333b367c1277283c81a0f757fb939 (diff)
Havok: Fix hkpMotion::getMassInv() return type
Diffstat (limited to 'lib')
-rw-r--r--lib/hkStubs/Havok/Physics2012/Dynamics/Motion/hkpMotion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hkStubs/Havok/Physics2012/Dynamics/Motion/hkpMotion.h b/lib/hkStubs/Havok/Physics2012/Dynamics/Motion/hkpMotion.h
index 84dd8f89..a591fd07 100644
--- a/lib/hkStubs/Havok/Physics2012/Dynamics/Motion/hkpMotion.h
+++ b/lib/hkStubs/Havok/Physics2012/Dynamics/Motion/hkpMotion.h
@@ -141,7 +141,7 @@ public:
};
inline hkSimdReal hkpMotion::getMassInv() const {
- return m_inertiaAndMassInv(3);
+ return m_inertiaAndMassInv.getW();
}
inline const hkVector4& hkpMotion::getCenterOfMassLocal() const {