19 #ifndef B2_CIRCLE_SHAPE_H 20 #define B2_CIRCLE_SHAPE_H
void ComputeMass(b2MassData *massData, float32 density) const
GLenum GLenum GLenum input
int32 GetVertexCount() const
Get the vertex count.
void SetZero()
Set this vector to all zeros.
void ComputeAABB(b2AABB *aabb, const b2Transform &transform, int32 childIndex) const
GLuint GLenum GLenum transform
b2Shape * Clone(b2BlockAllocator *allocator) const
Implement b2Shape.
const b2Vec2 & GetVertex(int32 index) const
Get a vertex by index. Used by b2Distance.
bool RayCast(b2RayCastOutput *output, const b2RayCastInput &input, const b2Transform &transform, int32 childIndex) const
Implement b2Shape.
int32 GetSupport(const b2Vec2 &d) const
Get the supporting vertex index in the given direction.
An axis aligned bounding box.
const b2Vec2 & GetSupportVertex(const b2Vec2 &d) const
Get the supporting vertex in the given direction.
bool TestPoint(const b2Transform &transform, const b2Vec2 &p) const
Implement b2Shape.
This holds the mass data computed for a shape.
int32 GetChildCount() const