16 #ifndef BT_RAYCAST_TRI_CALLBACK_H
17 #define BT_RAYCAST_TRI_CALLBACK_H
71 #endif //BT_RAYCAST_TRI_CALLBACK_H
virtual void processTriangle(btVector3 *triangle, int partId, int triangleIndex)
btScalar m_triangleCollisionMargin
btTriangleConvexcastCallback(const btConvexShape *convexShape, const btTransform &convexShapeFrom, const btTransform &convexShapeTo, const btTransform &triangleToWorld, const btScalar triangleCollisionMargin)
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btTransform m_convexShapeFrom
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
virtual btScalar reportHit(const btVector3 &hitNormalLocal, const btVector3 &hitPointLocal, btScalar hitFraction, int partId, int triangleIndex)=0
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.
btVector3 can be used to represent 3D points and vectors.
virtual btScalar reportHit(const btVector3 &hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex)=0
btTransform m_triangleToWorld
virtual void processTriangle(btVector3 *triangle, int partId, int triangleIndex)
btTriangleRaycastCallback(const btVector3 &from, const btVector3 &to, unsigned int flags=0)
const btConvexShape * m_convexShape
btScalar m_allowedPenetration
btTransform m_convexShapeTo
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...