diff options
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 e937d01..4244d91 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -64,13 +64,13 @@ private: /** * \brief Checks if the mouse position is inside the bounds of the button. - * \param mouse_x The X coordinate of the mouse. - * \param mouse_y The Y coordinate of the mouse. + * \param world_mouse_x The X coordinate of the mouse in world space. + * \param world_mouse_y The Y coordinate of the mouse in world space. * \param button The button to check. * \param transform The transform component of the button. * \return True if the mouse is inside the button, false otherwise. */ - bool is_mouse_inside_button(const int& mouse_x, const int& mouse_y, const Button& button, const Transform& transform); + bool is_mouse_inside_button(const int& world_mouse_x, const int& world_mouse_y, const Button& button, const Transform& transform); /** * \brief Handles the button press event, calling the on_click callback if necessary. |