19 #ifndef B2_POLYGON_SHAPE_H
20 #define B2_POLYGON_SHAPE_H
22 #include <Box2D/Collision/Shapes/b2Shape.h>
44 void Set(
const b2Vec2* points, int32 count);
49 void SetAsBox(float32 hx, float32 hy);
56 void SetAsBox(float32 hx, float32 hy,
const b2Vec2& center, float32 angle);
63 const b2Transform& transform, int32 childIndex)
const;
87 inline b2PolygonShape::b2PolygonShape()
97 b2Assert(0 <= index && index < m_count);
98 return m_vertices[index];