41#if defined( BOX2D_DOUBLE_PRECISION )
90#define B2_PI 3.14159265359f
92static const b2Vec2 b2Vec2_zero = { 0.0f, 0.0f };
93static const b2Rot b2Rot_identity = { 1.0f, 0.0f };
94static const b2Transform b2Transform_identity = { { 0.0f, 0.0f }, { 1.0f, 0.0f } };
95static const b2Mat22 b2Mat22_zero = { { 0.0f, 0.0f }, { 0.0f, 0.0f } };
98static const b2Pos b2Pos_zero = { 0.0f, 0.0f };
99static const b2WorldTransform b2WorldTransform_identity = { { 0.0f, 0.0f }, { 1.0f, 0.0f } };
float c
cosine and sine
Definition math_types.h:31
float x
coordinates
Definition math_types.h:16
b2Vec2 cx
columns
Definition math_types.h:72
float cosine
cosine and sine
Definition math_types.h:23
b2Vec2 b2Pos
Alias in single precision.
Definition math_types.h:61
b2Transform b2WorldTransform
Alias in single precision.
Definition math_types.h:64
Axis-aligned bounding box.
Definition math_types.h:77
Cosine and sine pair This uses a custom implementation designed for cross-platform determinism.
Definition math_types.h:21
A 2-by-2 Matrix.
Definition math_types.h:70
separation = dot(normal, point) - offset
Definition math_types.h:84
2D rotation This is similar to using a complex number for rotation
Definition math_types.h:29
2D vector This can be used to represent a point or free vector
Definition math_types.h:14