diff options
Diffstat (limited to 'src/states/simulation_state.cpp')
| -rw-r--r-- | src/states/simulation_state.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/states/simulation_state.cpp b/src/states/simulation_state.cpp index 540f236..06955ff 100644 --- a/src/states/simulation_state.cpp +++ b/src/states/simulation_state.cpp @@ -15,7 +15,7 @@ namespace Donut { - void SimulationState::on_enter() + auto SimulationState::on_enter() -> void { DONUT_INFO("Entering Simulation State"); @@ -39,12 +39,12 @@ namespace Donut m_initialized = true; } - void SimulationState::on_exit() + auto SimulationState::on_exit() -> void { DONUT_INFO("Exiting Simulation State"); } - void SimulationState::on_update(float delta_time) + auto SimulationState::on_update(float delta_time) -> void { auto& engine = Application::get().get_engine(); engine.update_performance(delta_time); @@ -60,7 +60,7 @@ namespace Donut } } - void SimulationState::on_render() + auto SimulationState::on_render() -> void { auto& engine = Application::get().get_engine(); RenderCommand::set_clear_color(glm::vec4(0.0f, 0.0f, 0.0f, 1.0f)); @@ -71,7 +71,7 @@ namespace Donut engine.draw_blur_pass(); } - void SimulationState::on_event(Event& event) + auto SimulationState::on_event(Event& event) -> void { auto& engine = Application::get().get_engine(); @@ -112,7 +112,7 @@ namespace Donut } } - void SimulationState::on_im_ui_render() + auto SimulationState::on_im_ui_render() -> void { auto& engine = Application::get().get_engine(); |
