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 | |
| parent | 4211056354c66f90702508bb78631a0947d57a1f (diff) | |
| download | raylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.tar.gz raylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.zip | |
Comments review
Diffstat (limited to 'src')
| -rw-r--r-- | src/gestures.h | 12 | ||||
| -rw-r--r-- | src/rlgl.h | 1 |
2 files changed, 6 insertions, 7 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 @@ -813,7 +813,6 @@ static float maxAnisotropicLevel = 0.0f; // Maximum anisotropy level supporte static PFNGLGENVERTEXARRAYSOESPROC glGenVertexArrays; // Entry point pointer to function glGenVertexArrays() static PFNGLBINDVERTEXARRAYOESPROC glBindVertexArray; // Entry point pointer to function glBindVertexArray() static PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays; // Entry point pointer to function glDeleteVertexArrays() -//static PFNGLISVERTEXARRAYOESPROC glIsVertexArray; // NOTE: Fails in WebGL, omitted #endif #if defined(SUPPORT_VR_SIMULATOR) |
