Browse Source

ouch

pull/2127/head
Ray 3 years ago
parent
commit
da7e0ba9d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rshapes.c

+ 1
- 1
src/rshapes.c View File

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

Loading…
Cancel
Save