diff options
Diffstat (limited to 'extern/bullet/Bullet/CollisionShapes/CylinderShape.h')
-rw-r--r-- | extern/bullet/Bullet/CollisionShapes/CylinderShape.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/bullet/Bullet/CollisionShapes/CylinderShape.h b/extern/bullet/Bullet/CollisionShapes/CylinderShape.h index 11f184db761..4fa40e92f1e 100644 --- a/extern/bullet/Bullet/CollisionShapes/CylinderShape.h +++ b/extern/bullet/Bullet/CollisionShapes/CylinderShape.h @@ -24,6 +24,11 @@ class CylinderShape : public BoxShape public: CylinderShape (const SimdVector3& halfExtents); + ///GetAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version + void GetAabb(const SimdTransform& t,SimdVector3& aabbMin,SimdVector3& aabbMax) const + { + GetAabbSlow(t,aabbMin,aabbMax); + } virtual SimdVector3 LocalGetSupportingVertexWithoutMargin(const SimdVector3& vec)const; |