From 14d37464adecd4d29504ff9f11702a58df2de7da Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 22 Jul 2020 11:12:04 +0200 Subject: [PATCH] DrawTriangleFan(): Add a comment about vertex order #1316 --- src/shapes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shapes.c b/src/shapes.c index ed1324810..2777cf6c8 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)