Flint Engine / Guide / API Reference

is_in_gap

Function is_in_gap 

Source
pub fn is_in_gap(t: f32, gaps: &[(f32, f32)]) -> bool
Expand description

Check if parametric t falls within any gap range.

Start is inclusive, end is exclusive.