mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:37:55 +08:00
14 lines
737 B
Diff
14 lines
737 B
Diff
|
diff --git a/physx/source/geomutils/src/gjk/GuGJKType.h b/physx/source/geomutils/src/gjk/GuGJKType.h
|
||
|
index a0099e2f..b824ec7a 100644
|
||
|
--- a/physx/source/geomutils/src/gjk/GuGJKType.h
|
||
|
+++ b/physx/source/geomutils/src/gjk/GuGJKType.h
|
||
|
@@ -151,7 +151,7 @@ namespace Gu
|
||
|
|
||
|
virtual Ps::aos::Vec3V getCenter() const { return mAToB.transform(getConvex<Convex>().getCenter()); }
|
||
|
|
||
|
- PX_FORCE_INLINE Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
|
||
|
+ PX_FORCE_INLINE const Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
|
||
|
|
||
|
//ML: we can't force inline function, otherwise win modern will throw compiler error
|
||
|
PX_INLINE RelativeConvex<typename ConvexGeom<Convex>::Type > getGjkConvex() const
|