| 41 | } |
| 42 | |
| 43 | void presentInitializedWindow(GLFWwindow* window, SceneViewport& renderer, Lattice::Simulation& simulation, Interface& appInterface, |
| 44 | const DebugViews& debugViews) { |
| 45 | renderer.renderFrame(simulation, appInterface, debugViews); |
| 46 | glfwShowWindow(window); |
| 47 | glfwFocusWindow(window); |
| 48 | } |
| 49 | |
| 50 | void loadBaseMoleculeTemplates(Lattice::Simulation& simulation) { |
| 51 | if (!std::filesystem::exists(kBaseMoleculesPath) || !std::filesystem::is_directory(kBaseMoleculesPath)) { |