23#ifndef B2_CIRCLE_SHAPE_H
24#define B2_CIRCLE_SHAPE_H
48 const b2Transform& transform, int32 childIndex)
const override;
60inline b2CircleShape::b2CircleShape()
Definition: b2_block_allocator.h:38
A solid circle shape.
Definition: b2_circle_shape.h:31
b2Vec2 m_p
Position.
Definition: b2_circle_shape.h:57
void ComputeMass(b2MassData *massData, float density) const override
bool RayCast(b2RayCastOutput *output, const b2RayCastInput &input, const b2Transform &transform, int32 childIndex) const override
int32 GetChildCount() const override
b2Shape * Clone(b2BlockAllocator *allocator) const override
Implement b2Shape.
bool TestPoint(const b2Transform &transform, const b2Vec2 &p) const override
Implement b2Shape.
void ComputeAABB(b2AABB *aabb, const b2Transform &transform, int32 childIndex) const override
Definition: b2_shape.h:49
float m_radius
Definition: b2_shape.h:102
An axis aligned bounding box.
Definition: b2_collision.h:169
This holds the mass data computed for a shape.
Definition: b2_shape.h:34
Definition: b2_collision.h:162
A 2D column vector.
Definition: b2_math.h:42
void SetZero()
Set this vector to all zeros.
Definition: b2_math.h:50