galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
MouseWheel.cpp
Go to the documentation of this file.
1
7
8#include "MouseWheel.hpp"
9
10namespace galaxy
11{
12 MouseWheel::MouseWheel(const float ax, const float ay, const SDL_MouseWheelDirection dir, const float mx, const float my, const int tx, const int ty) noexcept
13 : m_amount_x {ax}
14 , m_amount_y {ay}
15 , m_direction {dir}
16 , m_mouse_x {mx}
17 , m_mouse_y {my}
18 , m_total_x {tx}
19 , m_total_y {ty}
20 {
21 }
22} // namespace galaxy
Application.hpp galaxy.
MouseWheel(const float ax, const float ay, const SDL_MouseWheelDirection dir, const float mx, const float my, const int tx, const int ty) noexcept
Constructor.