Ver código fonte

REVIEWED: `CheckCollisionPointPoly()`

pull/2694/head
Ray 3 anos atrás
pai
commit
853c66baed
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/rshapes.c

+ 1
- 1
src/rshapes.c Ver arquivo

@ -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];

Carregando…
Cancelar
Salvar