MCPcopy Create free account
hub / github.com/axmolengine/axmol / cpPolyShapeGetCount

Function cpPolyShapeGetCount

3rdparty/chipmunk/src/cpPolyShape.c:259–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259int
260cpPolyShapeGetCount(const cpShape *shape)
261{
262 cpAssertHard(shape->klass == &polyClass, "Shape is not a poly shape.");
263 return ((cpPolyShape *)shape)->count;
264}
265
266cpVect
267cpPolyShapeGetVert(const cpShape *shape, int i)

Callers 12

cpPolyShapeGetVertFunction · 0.85
cpPolyShapeGetNumVertsFunction · 0.85
calculateAreaMethod · 0.85
getPointsMethod · 0.85
getPointsCountMethod · 0.85
getCenterMethod · 0.85
updateScaleMethod · 0.85
updateFunction · 0.85
ShatterCellFunction · 0.85
ClipPolyFunction · 0.85
waterPreSolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected