pub fn compress_normals(
normals: &[[f32; 3]],
) -> impl Iterator<Item = CompressedNormal> + '_Expand description
Octahedral-encode normals into Snorm16x2 lanes.
The encoding is absolute, so it needs no per-mesh range and leaves
MeshMetadata alone. The returned iterator is lazy: nothing is
allocated, and a caller can stream the values straight into a GPU buffer.