CheckCollisionPointLine method
Implementation
bool CheckCollisionPointLine(
Vector2D point,
Vector2D p1,
Vector2D p2,
num threshold,
) => run(
() => 'CheckCollisionPointLine($point, $p1, $p2, $threshold)',
() => rl.Core.CheckCollisionPointLine(
rl.Temp.Vector2$.Ref1(point).ref,
rl.Temp.Vector2$.Ref2(p1).ref,
rl.Temp.Vector2$.Ref3(p2).ref,
threshold.toInt(),
),
);