Function rust_raylib::ffi::CheckCollisionPointLine
source · pub unsafe extern "C" fn CheckCollisionPointLine(
point: Vector2,
p1: Vector2,
p2: Vector2,
threshold: c_int
) -> bool
Expand description
Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]