瀏覽代碼

REVIEWED: `CheckCollisionPointPoly()`

pull/2694/head
Ray 3 年之前
父節點
當前提交
853c66baed
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rshapes.c

+ 1
- 1
src/rshapes.c 查看文件

@ -1555,7 +1555,7 @@ bool CheckCollisionPointPoly(Vector2 point, Vector2 *points, int pointCount)
if (pointCount > 2)
{
for (int i = 0; i < pointCount; i++)
for (int i = 0; i < pointCount - 1; i++)
{
Vector2 vc = points[i];
Vector2 vn = points[i + 1];

Loading…
取消
儲存