aboutsummaryrefslogtreecommitdiff
path: root/src/ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/keyboard.hpp2
-rw-r--r--src/ctrl/mouse.hpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ctrl/keyboard.hpp b/src/ctrl/keyboard.hpp
index f7bdf3d..dc8e259 100644
--- a/src/ctrl/keyboard.hpp
+++ b/src/ctrl/keyboard.hpp
@@ -4,8 +4,6 @@
#include <cstdint>
#include "math/vector.hpp"
-using engine::math::Vector2;
-
namespace engine::controllers {
enum class KeyboardKey {
diff --git a/src/ctrl/mouse.hpp b/src/ctrl/mouse.hpp
index 5c7af80..3b45b4d 100644
--- a/src/ctrl/mouse.hpp
+++ b/src/ctrl/mouse.hpp
@@ -10,7 +10,7 @@ class Mouse {
public:
constexpr Mouse(MouseMotionCallback mouse_motion_cb) : mouse_motion_cb{mouse_motion_cb} {}
- void mouse_motion_event(Vector2 rel) const & {
+ void mouse_motion_event(engine::math::Vector2 rel) const & {
mouse_motion_cb(rel);
}