MCPcopy Create free account
hub / github.com/cinder/Cinder / update

Method update

samples/FallingGears/src/SceneController.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void SceneController::update()
76{
77 float currentTime = app::getElapsedSeconds();
78 float deltaTime = currentTime - mLastStepTime;
79
80 removeOffscreenGears();
81 scrollIslands( deltaTime );
82
83 mWorld->Step( deltaTime, 8, 3 );
84
85 mLastStepTime = currentTime;
86}
87
88void SceneController::setupWalls()
89{

Callers

nothing calls this directly

Calls 2

getElapsedSecondsFunction · 0.50
StepMethod · 0.45

Tested by

no test coverage detected