16 #ifndef BT_SPHERE_TRIANGLE_DETECTOR_H
17 #define BT_SPHERE_TRIANGLE_DETECTOR_H
50 #endif //BT_SPHERE_TRIANGLE_DETECTOR_H
btScalar m_contactBreakingThreshold
btTriangleShape * m_triangle
The btSphereShape implements an implicit sphere, centered around a local origin with radius...
bool facecontains(const btVector3 &p, const btVector3 *vertices, btVector3 &normal)
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
bool collide(const btVector3 &sphereCenter, btVector3 &point, btVector3 &resultNormal, btScalar &depth, btScalar &timeOfImpact, btScalar contactBreakingThreshold)
SphereTriangleDetector(btSphereShape *sphere, btTriangleShape *triangle, btScalar contactBreakingThreshold)
The btIDebugDraw interface class allows hooking up a debug renderer to visually debug simulations...
bool pointInTriangle(const btVector3 vertices[], const btVector3 &normal, btVector3 *p)
btVector3 can be used to represent 3D points and vectors.
This interface is made to be used by an iterative approach to do TimeOfImpact calculations This inter...
sphere-triangle to match the btDiscreteCollisionDetectorInterface
virtual ~SphereTriangleDetector()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...