| 293 | } |
| 294 | |
| 295 | void scene_editor_app::on_update(const app_update_event & e) |
| 296 | { |
| 297 | int width, height; |
| 298 | glfwGetWindowSize(window, &width, &height); |
| 299 | |
| 300 | set_working_directory(working_dir_on_launch); |
| 301 | |
| 302 | editorProfiler.begin("on_update"); |
| 303 | flycam.update(e.timestep_ms); |
| 304 | shaderMonitor.handle_recompile(); |
| 305 | gizmo->on_update(cam, float2(static_cast<float>(width), static_cast<float>(height))); |
| 306 | editorProfiler.end("on_update"); |
| 307 | } |
| 308 | |
| 309 | void scene_editor_app::draw_entity_scenegraph(const entity e) |
| 310 | { |
nothing calls this directly
no test coverage detected