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