Ver a proveniência

DrawTriangleFan(): Add a comment about vertex order #1316

pull/1324/head
Ray há 4 anos
ascendente
cometimento
14d37464ad
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      src/shapes.c

+ 1
- 0
src/shapes.c Ver ficheiro

@ -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)

Carregando…
Cancelar
Guardar