summary refs log tree commit diff
path: root/src/GFX/Mouse.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-08 03:25:44 +0200
committerMel <einebeere@gmail.com>2023-07-08 03:25:44 +0200
commitfe2baedc760c2f29e2c720f6b1132a2de33c5430 (patch)
treedfbe1c72a17805a3cab6e0d47433e9021890c9ca /src/GFX/Mouse.hpp
parent41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 (diff)
downloadmeowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.tar.zst
meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.zip
Use own size types
Diffstat (limited to 'src/GFX/Mouse.hpp')
-rw-r--r--src/GFX/Mouse.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GFX/Mouse.hpp b/src/GFX/Mouse.hpp
index 1e2111e..ad940d4 100644
--- a/src/GFX/Mouse.hpp
+++ b/src/GFX/Mouse.hpp
@@ -11,10 +11,10 @@ public:
 
     Vector<2> update(GLFWwindow* window);
 private:
-    bool m_first_event = true;
+    Bool m_first_event = true;
 
-    float m_last_x = 0.0f;
-    float m_last_y = 0.0f;
+    Real m_last_x = 0.0f;
+    Real m_last_y = 0.0f;
 };
 
 }
\ No newline at end of file