Fix compilation error

This commit is contained in:
Elkantor 2020-12-21 15:36:02 +01:00
parent a6033d8fc4
commit 3eeeb742f2

View File

@ -347,8 +347,8 @@ RMDEF _Bool Vector2LineIntersect(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4,
if (pointIntersection)
{
pointIntersection.x = p1.x + (p2.x - p1.x) * coeff;
pointIntersection.y = p1.y + (p2.y - p1.y) * coeff;
pointIntersection->x = p1.x + (p2.x - p1.x) * coeff;
pointIntersection->y = p1.y + (p2.y - p1.y) * coeff;
}
return true;
}