MCPcopy 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
137void PhysicsShape::updateScale()
138{
139 _scaleX = _newScaleX;
140 _scaleY = _newScaleY;
141}
142
143void PhysicsShape::addShape(cpShape* shape)
144{

Callers

nothing calls this directly

Calls 13

cpCircleShapeGetOffsetFunction · 0.85
cpvmultFunction · 0.85
cpCircleShapeSetOffsetFunction · 0.85
cpCircleShapeSetRadiusFunction · 0.85
cpCircleShapeGetRadiusFunction · 0.85
cpSegmentShapeGetAFunction · 0.85
cpSegmentShapeGetBFunction · 0.85
cpPolyShapeGetCountFunction · 0.85
cpPolyShapeGetVertFunction · 0.85
cpPolyShapeSetVertsRawFunction · 0.85
absFunction · 0.50

Tested by

no test coverage detected