Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
615
Vec2 PhysicsShapePolygon::getPoint(int i) const
616
{
617
return PhysicsHelper::cpv2vec2(cpPolyShapeGetVert(_cpShapes.front(), i));
618
}
619
620
void PhysicsShapePolygon::getPoints(Vec2* outPoints) const
621
{
Callers
4
clipPoly
Method · 0.80
copyAttributesTo
Method · 0.80
PUPathFollower.h
File · 0.80
lua_ax_physics_PhysicsShapePolygon_getPoint
Function · 0.80
Calls
2
cpPolyShapeGetVert
Function · 0.85
front
Method · 0.45
Tested by
1
clipPoly
Method · 0.64