diff options
| author | Mel <einebeere@gmail.com> | 2022-10-06 02:48:43 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-06 02:48:43 +0200 |
| commit | fdbfa8e36f85eee051fc562f1a8588970257a20f (patch) | |
| tree | e861a56c50b1e8532bd71a21064d76d0c148ed3a /src/Window.cpp | |
| parent | 731846a0c654b39e23c26f611470e401df404c9d (diff) | |
| download | meowcraft-fdbfa8e36f85eee051fc562f1a8588970257a20f.tar.zst meowcraft-fdbfa8e36f85eee051fc562f1a8588970257a20f.zip | |
Rotating camera with mouse
Diffstat (limited to 'src/Window.cpp')
| -rw-r--r-- | src/Window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index 413cd47..2f1c2c0 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -16,6 +16,7 @@ Window::Window(const char *title, uint32_t width, uint32_t height) { } glfwMakeContextCurrent(m_window); + glfwSetInputMode(m_window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); } Window::~Window() { |
