22#ifndef B2_POLYGON_SHAPE_H
23#define B2_POLYGON_SHAPE_H
75 const b2Transform& transform, int32 childIndex)
const override;
#define b2_maxPolygonVertices
Definition b2_settings.h:53
Definition b2_block_allocator.h:38
Definition b2_polygon_shape.h:35
bool TestPoint(const b2Transform &transform, const b2Vec2 &p) const override
bool RayCast(b2RayCastOutput *output, const b2RayCastInput &input, const b2Transform &transform, int32 childIndex) const override
bool Set(const b2Vec2 *points, int32 count)
int32 GetChildCount() const override
void ComputeMass(b2MassData *massData, float density) const override
void Set(const b2Hull &hull)
b2Shape * Clone(b2BlockAllocator *allocator) const override
Implement b2Shape.
void SetAsBox(float hx, float hy)
void ComputeAABB(b2AABB *aabb, const b2Transform &transform, int32 childIndex) const override
void SetAsBox(float hx, float hy, const b2Vec2 ¢er, float angle)
An axis aligned bounding box.
Definition b2_collision.h:169
Convex hull used for polygon collision.
Definition b2_collision.h:260
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