|
Box2D
2.4.1
A 2D physics engine for games
|
71 virtual int32 GetChildCount()
const = 0;
84 const b2Transform& transform, int32 childIndex)
const = 0;
90 virtual void ComputeAABB(
b2AABB* aabb,
const b2Transform& xf, int32 childIndex)
const = 0;
96 virtual void ComputeMass(
b2MassData* massData,
float density)
const = 0;
A 2D column vector.
Definition: b2_math.h:41
float m_radius
Definition: b2_shape.h:102
An axis aligned bounding box.
Definition: b2_collision.h:168
Definition: b2_block_allocator.h:37
Definition: b2_shape.h:48
This holds the mass data computed for a shape.
Definition: b2_shape.h:33
b2Vec2 center
The position of the shape's centroid relative to the shape's origin.
Definition: b2_shape.h:39
float mass
The mass of the shape, usually in kilograms.
Definition: b2_shape.h:36
Definition: b2_collision.h:161
float I
The rotational inertia of the shape about the local origin.
Definition: b2_shape.h:42
Type GetType() const
Definition: b2_shape.h:105