Flint Engine / Guide / API Reference

gap_at

Function gap_at 

Source
pub fn gap_at(t: f32, gaps: &[(f32, f32)]) -> Option<(f32, f32)>
Expand description

Return the gap range containing t, or None.

Handles wrap-around ranges where start > end (for closed splines).