From e6fe634578e896f3e54d9f2f49cc0172e1306693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 13 Jan 2022 13:08:46 +0100 Subject: [PATCH] Revert "Havok: Fix signature of hkpRigidBody::updateCachedShapeInfo" This reverts commit 2e756280aff32448549bd5399c93579474227fe1. I mistook hkpRigidBody::updateCachedShapeInfo for hkpRigidBody::setCenterOfMassLocal. --- lib/hkStubs/Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hkStubs/Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h b/lib/hkStubs/Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h index f2198f1f..f68fd8f1 100644 --- a/lib/hkStubs/Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h +++ b/lib/hkStubs/Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h @@ -99,7 +99,7 @@ public: inline hkpMotion::MotionType getMotionType() const; hkpMotion* getStoredDynamicMotion(); const hkpMotion* getStoredDynamicMotion() const; - void updateCachedShapeInfo(const hkVector4& centerOfMassInLocal); + void updateCachedShapeInfo(const hkpShape* shape, hkVector4& extentOut); inline hkReal getFriction() const; inline hkReal getRollingFrictionMultiplier() const;