Function nalgebra::try_normalize [] [src]

pub fn try_normalize<V: Norm>(v: &V, min_norm: V::NormType) -> Option<V>

Gets the normalized version of a vector or None if its norm is smaller than min_norm.