MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / run

Method run

engine/source/editor/source/editor.cpp:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 void PiccoloEditor::clear() { g_editor_global_context.clear(); }
50
51 void PiccoloEditor::run()
52 {
53 assert(m_engine_runtime);
54 assert(m_editor_ui);
55 float delta_time;
56 while (true)
57 {
58 delta_time = m_engine_runtime->calculateDeltaTime();
59 g_editor_global_context.m_scene_manager->tick(delta_time);
60 g_editor_global_context.m_input_manager->tick(delta_time);
61 if (!m_engine_runtime->tickOneFrame(delta_time))
62 return;
63 }
64 }
65} // namespace Piccolo

Callers 1

mainFunction · 0.45

Calls 3

calculateDeltaTimeMethod · 0.80
tickOneFrameMethod · 0.80
tickMethod · 0.45

Tested by

no test coverage detected