MCPcopy Create free account
hub / github.com/MethanePowered/MethaneKit / Animate

Method Animate

Apps/04-ShadowCube/ShadowCubeApp.cpp:316–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316bool ShadowCubeApp::Animate(double, double delta_seconds)
317{
318 m_view_camera.Rotate(m_view_camera.GetOrientation().up, static_cast<float>(delta_seconds * 360.F / 8.F));
319 m_light_camera.Rotate(m_light_camera.GetOrientation().up, static_cast<float>(delta_seconds * 360.F / 4.F));
320 return true;
321}
322
323bool ShadowCubeApp::Update()
324{

Callers

nothing calls this directly

Calls 1

RotateMethod · 0.80

Tested by

no test coverage detected