26BOX2D_API
void b2World_SetPreSolveCallback(
b2WorldId worldId, b2PreSolveFcn* fcn,
void* context);
32typedef bool b2QueryResultFcn(
b2ShapeId shapeId,
void* context);
48typedef float b2RayResultFcn(
b2ShapeId shapeId,
b2Vec2 point,
b2Vec2 normal,
float fraction,
void* context);
60static const b2RayResult b2_emptyRayResult = {{-1, -1, 0}, {0.0f, 0.0f}, {0.0f, 0.0f}, 0.0f,
false};
Contact manifold convex shapes.
Definition manifold.h:44
Use an instance of this structure and the callback below to get the closest hit.
Definition callbacks.h:52
References a shape instance.
Definition id.h:31
World identifier.
Definition id.h:16
types used by the Box2D API