Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ updateScale
Method
updateScale
core/physics/PhysicsShape.cpp:137–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
135
}
136
137
void PhysicsShape::updateScale()
138
{
139
_scaleX = _newScaleX;
140
_scaleY = _newScaleY;
141
}
142
143
void PhysicsShape::addShape(cpShape* shape)
144
{
Callers
nothing calls this directly
Calls
13
cpCircleShapeGetOffset
Function · 0.85
cpvmult
Function · 0.85
cpCircleShapeSetOffset
Function · 0.85
cpCircleShapeSetRadius
Function · 0.85
cpCircleShapeGetRadius
Function · 0.85
cpSegmentShapeGetA
Function · 0.85
cpSegmentShapeGetB
Function · 0.85
cpSegmentShapeSetEndpoints
Function · 0.85
cpPolyShapeGetCount
Function · 0.85
cpPolyShapeGetVert
Function · 0.85
cpPolyShapeSetVertsRaw
Function · 0.85
abs
Function · 0.50
Tested by
no test coverage detected