CheckCollisionPointLine method

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

Implementation

bool CheckCollisionPointLine(
  Vector2D point,
  Vector2D p1,
  Vector2D p2,
  num threshold,
) => run(
  () => 'CheckCollisionPointLine($point, $p1, $p2, $threshold)',
  () => rl.Core.CheckCollisionPointLine(
    _refVector21(point).ref,
    _refVector22(p1).ref,
    _refVector23(p2).ref,
    threshold.toInt(),
  ),
);