summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2020-07-22 11:12:04 +0200
committerRay <[email protected]>2020-07-22 11:12:04 +0200
commit14d37464adecd4d29504ff9f11702a58df2de7da (patch)
tree6708406f2175f1c37c88367348b806095d7e9919
parentcebcdea80f11400e2c1bdb13e2732b4bdb1e1dd7 (diff)
downloadraylib-14d37464adecd4d29504ff9f11702a58df2de7da.tar.gz
raylib-14d37464adecd4d29504ff9f11702a58df2de7da.zip
DrawTriangleFan(): Add a comment about vertex order #1316
-rw-r--r--src/shapes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shapes.c b/src/shapes.c
index ed132481..2777cf6c 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -1246,6 +1246,7 @@ void DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color)
// Draw a triangle fan defined by points
// NOTE: First vertex provided is the center, shared by all triangles
+// By default, following vertex should be provided in counter-clockwise order
void DrawTriangleFan(Vector2 *points, int pointsCount, Color color)
{
if (pointsCount >= 3)