Skip to main content

batch_normalize

Function batch_normalize 

Source
pub fn batch_normalize(vecs: &[Vec3]) -> Vec<Vec3> 
Expand description

Batch normalize: normalize an array of vectors.

Zero-length vectors are left as-is.