matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
|
Represents mouse position in a given frame relative to the top left corner of the screen. More...
#include <Input.hpp>
Public Attributes | |
float | x |
X coordinate of the mouse position relative to the top left corner of the screen. | |
float | y |
Y coordinate of the mouse position relative to the top left corner of the screen. | |
float | dx |
The change in the X coordinate from the previous frame. | |
float | dy |
The change in the Y coordinate from the previous frame. | |
float | scroll |
The rotation of the scroll button. | |
Represents mouse position in a given frame relative to the top left corner of the screen.
float engine::platform::MousePosition::x |
X coordinate of the mouse position relative to the top left corner of the screen.
float engine::platform::MousePosition::y |
Y coordinate of the mouse position relative to the top left corner of the screen.
float engine::platform::MousePosition::dx |
The change in the X coordinate from the previous frame.
float engine::platform::MousePosition::dy |
The change in the Y coordinate from the previous frame.
float engine::platform::MousePosition::scroll |
The rotation of the scroll button.