diff options
| author | Ray <[email protected]> | 2019-06-17 10:29:58 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-06-17 10:29:58 +0200 |
| commit | e0854696b4685737f21b0b2b973104c76c5bb8ef (patch) | |
| tree | 7afe5373a35f36fbc58d93201645f38d4472acbc /src/raylib.h | |
| parent | f951f0c53667ea9d1b195343de3bfa9fbabe60ab (diff) | |
| download | raylib-e0854696b4685737f21b0b2b973104c76c5bb8ef.tar.gz raylib-e0854696b4685737f21b0b2b973104c76c5bb8ef.zip | |
ADDED: DrawTriangleStrip()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 3056a53f..9d0262c4 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1055,6 +1055,7 @@ RLAPI void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segment RLAPI void DrawTriangle(Vector2 v1, Vector2 v2, Vector2 v3, Color color); // Draw a color-filled triangle RLAPI void DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color); // Draw triangle outline RLAPI void DrawTriangleFan(Vector2 *points, int numPoints, Color color); // Draw a triangle fan defined by points +RLAPI void DrawTriangleStrip(Vector2 *points, int pointsCount, Color color); // Draw a triangle strip defined by points RLAPI void DrawPoly(Vector2 center, int sides, float radius, float rotation, Color color); // Draw a regular polygon (Vector version) RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); // Define default texture used to draw shapes |
