Skip to main content

batch_snap

Function batch_snap 

Source
pub fn batch_snap(flat: &[f32]) -> Vec<SnapResult>
Expand description

Batch snap for interleaved (x, y) pairs.

flat must have even length: [x0, y0, x1, y1, …].