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

Method getPoint

core/physics/PhysicsShape.cpp:615–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615Vec2 PhysicsShapePolygon::getPoint(int i) const
616{
617 return PhysicsHelper::cpv2vec2(cpPolyShapeGetVert(_cpShapes.front(), i));
618}
619
620void PhysicsShapePolygon::getPoints(Vec2* outPoints) const
621{

Callers 4

clipPolyMethod · 0.80
copyAttributesToMethod · 0.80
PUPathFollower.hFile · 0.80

Calls 2

cpPolyShapeGetVertFunction · 0.85
frontMethod · 0.45

Tested by 1

clipPolyMethod · 0.64