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

Method update

tests/cpp-tests/Source/Box2DTestBed/Box2DTestBed.cpp:257–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void Box2DTestBed::update(float dt)
258{
259 // Debug draw
260 m_test->debugString = "";
261 labelDebugDraw->setString("");
262 debugDrawNode->clear();
263 m_test->Step(settings);
264 m_test->m_world->DebugDraw();
265}
266
267void Box2DTestBed::initPhysics()
268{

Callers

nothing calls this directly

Calls 4

setStringMethod · 0.45
clearMethod · 0.45
StepMethod · 0.45
DebugDrawMethod · 0.45

Tested by

no test coverage detected