diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 20:13:09 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 20:13:09 +0100 |
commit | 66fdcffaddb0ab31d12b6b1d7892a8edaa31af65 (patch) | |
tree | 6c6692e0489133ac5264d53f7dc5a1e3d5be9320 /src/crepe/system/InputSystem.h | |
parent | 6454975779acb39d7d546e11855a07a952e68e5b (diff) |
make format
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r-- | src/crepe/system/InputSystem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h index 557ba47..eafeb91 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -31,15 +31,15 @@ public: private: //! Stores the last position of the mouse when the button was pressed. - ivec2 last_mouse_down_position{std::numeric_limits<int>::max(), std::numeric_limits<int>::max()}; + ivec2 last_mouse_down_position{std::numeric_limits<int>::max(), + std::numeric_limits<int>::max()}; //! Stores the last mouse button pressed. MouseButton last_mouse_button = MouseButton::NONE; - + //! The maximum allowable distance between mouse down and mouse up to register as a click. const int click_tolerance = 5; - /** * \brief Handles the mouse click event. * \param mouse_button The mouse button involved in the click. |