Browse Source

Corrected small issue

pull/1468/head
raysan5 4 years ago
parent
commit
0da827d754
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/shapes.c

+ 1
- 1
src/shapes.c View File

@ -1486,7 +1486,7 @@ bool CheckCollisionLines(Vector2 startPos1, Vector2 endPos1, Vector2 startPos2,
if (yi < fminf(startPos1.y, endPos1.y) || yi > fmaxf(startPos1.y, endPos1.y)) return false;
if (yi < fminf(startPos2.y, endPos2.y) || yi > fmaxf(startPos2.y, endPos2.y)) return false;
if (collisionPoint != nb">NULL)
if (collisionPoint != mi">0)
{
collisionPoint->x = xi;
collisionPoint->y = yi;

Loading…
Cancel
Save