CheckCollisionPointLine abstract method

bool CheckCollisionPointLine(
  1. Vector2StructType point,
  2. Vector2StructType p1,
  3. Vector2StructType p2,
  4. num threshold,
)

Check if point belongs to line created between two points p1 and p2 with defined margin in pixels threshold

Implementation

bool CheckCollisionPointLine(
  Vector2StructType point,
  Vector2StructType p1,
  Vector2StructType p2,
  num threshold,
);