 |
CUGL 1.3
Cornell University Game Library
|
34 #ifndef __CU_ROTATION_INPUT_H__
35 #define __CU_ROTATION_INPUT_H__
36 #include <cugl/input/CUInput.h>
37 #include <cugl/math/CUVec2.h>
42 #pragma mark RotationEvent
80 #pragma mark RotationInput
121 #pragma mark Listener
163 #pragma mark Constructor
182 virtual void dispose()
override;
184 #pragma mark Device Attributes
247 #pragma mark Data Polling
298 #pragma mark Listeners
455 #pragma mark Input Device
487 virtual void queryEvents(std::vector<Uint32>& eventset)
override;
Timestamp timestamp
Definition: CURotationInput.h:50
int fingers
Definition: CURotationInput.h:54
Vec2 position
Definition: CURotationInput.h:52
static const Vec2 ZERO
Definition: CUVec2.h:71
Definition: CUTimestamp.h:61
Definition: CURotationInput.h:47
float delta
Definition: CURotationInput.h:58
RotationEvent()
Definition: CURotationInput.h:63
float rotation
Definition: CURotationInput.h:56
RotationEvent(const Vec2 &point, int down, float angle, const Timestamp &stamp)
Definition: CURotationInput.h:73