From 92f63bbdbfc214849c203511bbcb1be0a4865588 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 15 Feb 2024 11:33:11 +0100 Subject: Proper input system --- src/GFX/Mouse.hpp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/GFX/Mouse.hpp (limited to 'src/GFX/Mouse.hpp') 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 -#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 -- cgit 1.4.1