Skip to main content

crosses_ray

Function crosses_ray 

Source
pub fn crosses_ray(p: [f64; 2], a: [f64; 2], b: [f64; 2]) -> bool
Expand description

Form-K horizontal-ray crossing; operand order is shared with the trim indexes.