pub fn normalize(v: &mut [f32])
Normalize a vector in-place to unit length (L2 norm).
No-op on zero vectors to avoid division by zero.