| 209 | } |
| 210 | |
| 211 | b2ShapeId b2CreatePolygonShape( b2BodyId bodyId, const b2ShapeDef* def, const b2Polygon* polygon ) |
| 212 | { |
| 213 | B2_ASSERT( b2IsValidFloat( polygon->radius ) && polygon->radius >= 0.0f ); |
| 214 | return b2CreateShape( bodyId, def, polygon, b2_polygonShape ); |
| 215 | } |
| 216 | |
| 217 | b2ShapeId b2CreateSegmentShape( b2BodyId bodyId, const b2ShapeDef* def, const b2Segment* segment ) |
| 218 | { |
no test coverage detected