Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
631
int PhysicsShapePolygon::getPointsCount() const
632
{
633
return cpPolyShapeGetCount(_cpShapes.front());
634
}
635
636
Vec2 PhysicsShapePolygon::getCenter()
637
{
Callers
8
clipPoly
Method · 0.80
axlua_physics_PhysicsShapePolygon_getPoints
Function · 0.80
axlua_physics_PhysicsShapeEdgeBox_getPoints
Function · 0.80
axlua_physics_PhysicsShapeEdgePolygon_getPoints
Function · 0.80
axlua_physics_PhysicsShapeEdgeChain_getPoints
Function · 0.80
lua_ax_physics_PhysicsShapePolygon_getPointsCount
Function · 0.80
lua_ax_physics_PhysicsShapeEdgePolygon_getPointsCount
Function · 0.80
lua_ax_physics_PhysicsShapeEdgeChain_getPointsCount
Function · 0.80
Calls
3
cpPolyShapeGetCount
Function · 0.85
front
Method · 0.45
size
Method · 0.45
Tested by
1
clipPoly
Method · 0.64