| 112 | } |
| 113 | |
| 114 | void sample_engine_procedural_scene::on_update(const app_update_event & e) |
| 115 | { |
| 116 | int width, height; |
| 117 | glfwGetWindowSize(window, &width, &height); |
| 118 | flycam.update(e.timestep_ms); |
| 119 | shaderMonitor->handle_recompile(); |
| 120 | |
| 121 | // Update all objects (calls on_update on each enabled object) |
| 122 | the_scene.update(e.timestep_ms / 1000.0f); |
| 123 | } |
| 124 | |
| 125 | void sample_engine_procedural_scene::on_draw() |
| 126 | { |
nothing calls this directly
no test coverage detected