summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-09 18:34:20 +0100
committerRay <[email protected]>2020-01-09 18:34:20 +0100
commite0d4cc314326f2c6d0390609df18d2e862c18a3a (patch)
tree6a0798304a316a8b9fe97dc92fe4751c7b16e14c /src/raylib.h
parentfcf15fe8c023a0308e1eec1a10dec09a748ccbe6 (diff)
downloadraylib-e0d4cc314326f2c6d0390609df18d2e862c18a3a.tar.gz
raylib-e0d4cc314326f2c6d0390609df18d2e862c18a3a.zip
ADDED: DrawPolyLines()
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 018779a1..b3d5c144 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1070,6 +1070,7 @@ RLAPI void DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color);
RLAPI void DrawTriangleFan(Vector2 *points, int numPoints, Color color); // Draw a triangle fan defined by points (first vertex is the center)
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 DrawPolyLines(Vector2 center, int sides, float radius, float rotation, Color color); // Draw a polygon outline of n sides
RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); // Define default texture used to draw shapes