diff options
| author | Mel <einebeere@gmail.com> | 2024-02-15 11:33:11 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-15 11:34:28 +0100 |
| commit | 92f63bbdbfc214849c203511bbcb1be0a4865588 (patch) | |
| tree | d82e1b31e583b5cc9538f61cad696dab5dbd84dc /src/GFX/Mouse.hpp | |
| parent | 87ef308220addbe4406006ceb802a7364e6f1a05 (diff) | |
| download | meowcraft-92f63bbdbfc214849c203511bbcb1be0a4865588.tar.zst meowcraft-92f63bbdbfc214849c203511bbcb1be0a4865588.zip | |
Proper input system
Diffstat (limited to 'src/GFX/Mouse.hpp')
| -rw-r--r-- | src/GFX/Mouse.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/GFX/Mouse.hpp b/src/GFX/Mouse.hpp deleted file mode 100644 index ad940d4..0000000 --- a/src/GFX/Mouse.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include <GLFW/glfw3.h> -#include "../Math/Vector.hpp" - -namespace MC::GFX { - -class Mouse { -public: - Mouse() = default; - - Vector<2> update(GLFWwindow* window); -private: - Bool m_first_event = true; - - Real m_last_x = 0.0f; - Real m_last_y = 0.0f; -}; - -} \ No newline at end of file |
