浏览代码

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

pull/1324/head
Ray 4 年前
父节点
当前提交
14d37464ad
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/shapes.c

+ 1
- 0
src/shapes.c 查看文件

@ -1246,6 +1246,7 @@ void DrawTriangleLines(Vector2 v1, Vector2 v2, Vector2 v3, Color color)
// Draw a triangle fan defined by points // Draw a triangle fan defined by points
// NOTE: First vertex provided is the center, shared by all triangles // 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) void DrawTriangleFan(Vector2 *points, int pointsCount, Color color)
{ {
if (pointsCount >= 3) if (pointsCount >= 3)

正在加载...
取消
保存