1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef CTRL_MOUSE_H #define CTRL_MOUSE_H #include "math/vector.h" using engine::math::Vector2; namespace engine::controllers { class Mouse { public: bool moved; Vector2 rel_motion; constexpr Mouse() : moved{false}, rel_motion{0.f, 0.f} {} }; } #endif // CTRL_MOUSE_H