| 88 | } |
| 89 | |
| 90 | void framebufferSizeCallback(GLFWwindow* window, int width, int height) |
| 91 | { |
| 92 | if (width > 0 && height > 0) { |
| 93 | SimulationView::get().resize({width, height}); |
| 94 | glViewport(0, 0, width, height); |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | _MainWindow::_MainWindow(SimulationFacade const& simulationFacade, PersisterFacade const& persisterFacade, GuiLogger const& logger) |