TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Update()

void Window::Update ( )

Definition at line 121 of file Window.cpp.

122{
123 if (!isActive)
124 {
125 return;
126 }
127
128 if (glfwWindowShouldClose(m_Window))
129 {
130 if(m_CloseEventCallback)
131 {
132 m_CloseEventCallback(0, 0);
133 }
134
135 isActive = false;
136 }
137
138 glfwSwapBuffers(m_Window);
139 glfwPollEvents();
140}