10#define MOUSE_HANDLER_H
92void mouseButton(
int button,
int state,
int x,
int y);
float cameraAngleX
Camera angle around the X-axis.
Definition mouse_handler.cpp:19
float cameraDistance
Distance of the camera from the target.
Definition keyboard_handler.cpp:28
float cameraAngleY
Camera angle around the Y-axis.
Definition mouse_handler.cpp:28
void mouseMotion(int x, int y)
Handles mouse motion events.
Definition mouse_handler.cpp:66
int lastMouseY
Y-coordinate of the last mouse position.
Definition mouse_handler.cpp:46
int lastMouseX
X-coordinate of the last mouse position.
Definition mouse_handler.cpp:37
bool leftButtonPressed
State of the left mouse button.
Definition mouse_handler.cpp:55
void mouseButton(int button, int state, int x, int y)
Handles mouse button events.
Definition mouse_handler.cpp:100