CheckCollisionPointLine abstract method
Check if point belongs to line created between two points p1 and p2 with defined margin in pixels threshold
Implementation
bool CheckCollisionPointLine(
Vector2 point,
Vector2 p1,
Vector2 p2,
int threshold,
);