Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Attributes | List of all members
Input::MouseButton Struct Reference

Mouse state. More...

Public Attributes

double x0 = 0.0
 Horizontal coordinate at the beginning of the last press.
 
double y0 = 0.0
 Vertical coordinate at the beginning of the last press.
 
double x1 = 0.0
 Horizontal coordinate at the end of the last press.
 
double y1 = 0.0
 Vertical coordinate at the end of the last press.
 
bool pressed = false
 Is the button currently held.
 
bool first = false
 Is it the first frame it is held.
 
bool last = false
 Is is the first frame since it was released.
 

Detailed Description

Mouse state.


The documentation for this struct was generated from the following file: