diff options
| author | Ray <[email protected]> | 2020-01-08 18:33:21 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-01-08 18:33:21 +0100 |
| commit | 89fedf0bb909efa28726e4e19f7487b7a7399aa2 (patch) | |
| tree | 179d2c13d33e0ceb9fd8534ff0b9aec988bfc482 /src/gestures.h | |
| parent | 4211056354c66f90702508bb78631a0947d57a1f (diff) | |
| download | raylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.tar.gz raylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.zip | |
Comments review
Diffstat (limited to 'src/gestures.h')
| -rw-r--r-- | src/gestures.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gestures.h b/src/gestures.h index baa42c7a..38df8905 100644 --- a/src/gestures.h +++ b/src/gestures.h @@ -181,12 +181,12 @@ float GetGesturePinchAngle(void); // Get gesture pinch ang //---------------------------------------------------------------------------------- // Touch gesture variables -static Vector2 touchDownPosition = { 0.0f, 0.0f }; -static Vector2 touchDownPosition2 = { 0.0f, 0.0f }; -static Vector2 touchDownDragPosition = { 0.0f, 0.0f }; -static Vector2 touchUpPosition = { 0.0f, 0.0f }; -static Vector2 moveDownPosition = { 0.0f, 0.0f }; -static Vector2 moveDownPosition2 = { 0.0f, 0.0f }; +static Vector2 touchDownPosition = { 0.0f, 0.0f }; // First touch down position +static Vector2 touchDownPosition2 = { 0.0f, 0.0f }; // Second touch down position +static Vector2 touchDownDragPosition = { 0.0f, 0.0f }; // Touch drag position +static Vector2 touchUpPosition = { 0.0f, 0.0f }; // Touch up position +static Vector2 moveDownPosition = { 0.0f, 0.0f }; // First touch down position on move +static Vector2 moveDownPosition2 = { 0.0f, 0.0f }; // Second touch down position on move static int pointCount = 0; // Touch points counter static int firstTouchId = -1; // Touch id for first touch point |
