소스 검색

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

불러오는 중...
취소
저장