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
10
namespace
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
MouseWheel.hpp
galaxy
Application.hpp galaxy.
Definition
Application.cpp:40
galaxy::MouseWheel::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
Constructor.
Definition
MouseWheel.cpp:12
galaxy
src
galaxy
events
MouseWheel.cpp
Generated on Sun Feb 1 2026 05:57:14 for galaxy by
1.12.0