Add basic camera controls

This commit is contained in:
4VRDriver
2020-09-03 18:18:32 +02:00
parent 919f65fac7
commit ee6e783c3f
7 changed files with 92 additions and 9 deletions

View File

@@ -20,6 +20,9 @@ Window::Window() {
exit(-1);
}
// Enable z buffer
glEnable(GL_DEPTH_TEST);
#ifdef _DEBUG
std::cout << "OpenGL version: " << glGetString(GL_VERSION) << std::endl;
glEnable(GL_DEBUG_OUTPUT);