add collision detection routines for shape against sphere

This commit is contained in:
Irlan
2018-03-26 15:56:01 -03:00
parent be812ed897
commit 3e55b28956
10 changed files with 228 additions and 23 deletions

View File

@ -33,7 +33,9 @@ public:
void ComputeAABB(b3AABB3* aabb, const b3Transform& xf) const;
bool TestPoint(const b3Vec3& point, const b3Transform& xf) const;
bool TestSphere(const b3Sphere& sphere, const b3Transform& xf) const;
bool TestSphere(b3TestSphereOutput* output, const b3Sphere& sphere, const b3Transform& xf) const;
bool RayCast(b3RayCastOutput* output, const b3RayCastInput& input, const b3Transform& xf) const;