Skip to content
Snippets Groups Projects
Commit 4828be7d authored by JonShard's avatar JonShard
Browse files

Added resetting of plane

parent 960a534e
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,6 @@ namespace overkill
if (keyCode == GLFW_KEY_ESCAPE)
{
glfwSetWindowShouldClose(window, 1);
}
// PRESS O TO Toggle terrain lines.
else if(keyCode == GLFW_KEY_O) {
// Terrain lines.
}
// PRESS SPACE to toggle camera mode
else if(keyCode == GLFW_KEY_SPACE) {
......@@ -117,6 +113,14 @@ namespace overkill
m_dayMoving = true;
}
// PRESS = R to reset plane.
else if(keyCode == GLFW_KEY_R) {
Scene::reload();
}
// PRESS O TO Toggle terrain lines.
else if(keyCode == GLFW_KEY_O) {
// Terrain lines.
}
// Navigation keys input:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment