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

Method getPointsCount

core/physics/PhysicsShape.cpp:631–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631int PhysicsShapePolygon::getPointsCount() const
632{
633 return cpPolyShapeGetCount(_cpShapes.front());
634}
635
636Vec2 PhysicsShapePolygon::getCenter()
637{

Calls 3

cpPolyShapeGetCountFunction · 0.85
frontMethod · 0.45
sizeMethod · 0.45

Tested by 1

clipPolyMethod · 0.64