Skip to main content

build_streamline_aabbs_from_slices

Function build_streamline_aabbs_from_slices 

Source
pub fn build_streamline_aabbs_from_slices(
    positions: &[[f32; 3]],
    offsets: &[u32],
) -> Vec<StreamlineAabb>
Expand description

Compute per-streamline AABBs from flat position and offset slices.

Useful when positions are already in a flat [[f32; 3]] array rather than inside a TrxFile.