16 float distanceSquared;
116typedef enum b2TOIState
120 b2_toiStateOverlapped,
#define b2_maxPolygonVertices
Definition constants.h:47
uint8_t indexB[3]
vertices on shape B
Definition distance.h:37
uint8_t indexA[3]
vertices on shape A
Definition distance.h:36
float metric
length or area
Definition distance.h:34
Output for b2Distance.
Definition distance.h:56
int32_t iterations
number of GJK iterations used
Definition distance.h:60
b2Vec2 pointA
closest point on shapeA
Definition distance.h:57
b2Vec2 pointB
closest point on shapeB
Definition distance.h:58
A distance proxy is used by the GJK algorithm. It encapsulates any shape.
Definition distance.h:24
Result of computing the distance between two line segments.
Definition distance.h:11
b2Vec2 c1
center world positions
Definition distance.h:95
b2Vec2 localCenter
local center of mass position
Definition distance.h:92
float a1
world angles
Definition distance.h:98
Output parameters for b2TimeOfImpact.
Definition distance.h:127
types used by the Box2D API
#define B2_ZERO_INIT
Used for C zero initialization, such as b2Vec2 v = {0} where C++ requires b2Vec2 v = {}.
Definition types.h:32
Low level ray-cast or shape-cast output data.
Definition types.h:99