diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-14 11:55:32 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-14 11:55:32 +0200 |
| commit | 47afda2549cdab0429047fcc64540a4ed5d0ede7 (patch) | |
| tree | b598ffd1260c9400220d00fde65b6d4b9a5590cc /src/raylib.h | |
| parent | 4dae3385c3871d4629a0e391165173ed86f87dcf (diff) | |
| download | raylib-47afda2549cdab0429047fcc64540a4ed5d0ede7.tar.gz raylib-47afda2549cdab0429047fcc64540a4ed5d0ede7.zip | |
Removed useless function: GetGestureDetected()
Use instead: IsGestureDetected()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/raylib.h b/src/raylib.h index bfcb9bf5..343e86f1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -644,13 +644,12 @@ bool IsButtonReleased(int button); // Detect if an android //------------------------------------------------------------------------------------ // Gestures and Touch Handling Functions (Module: gestures) //------------------------------------------------------------------------------------ +void SetGesturesEnabled(unsigned int gestureFlags); // Enable a set of gestures using flags +bool IsGestureDetected(int gesture); // Check if a gesture have been detected void ProcessGestureEvent(GestureEvent event); // Process gesture event and translate it into gestures void UpdateGestures(void); // Update gestures detected (called automatically in PollInputEvents()) -bool IsGestureDetected(int gesture); // Check if a gesture have been detected -int GetGestureDetected(void); // Get latest detected gesture -void SetGesturesEnabled(unsigned int gestureFlags); // Enable a set of gestures using flags -int GetTouchPointsCount(void); // Get touch points count +int GetTouchPointsCount(void); // Get touch points count float GetGestureHoldDuration(void); // Get gesture hold time in milliseconds Vector2 GetGestureDragVector(void); // Get gesture drag vector float GetGestureDragAngle(void); // Get gesture drag angle |
