nalgebra_glm
pub fn length2<N: RealField, D: Dimension>(x: &TVec<N, D>) -> N where DefaultAllocator: Alloc<N, D>,
The squared magnitude of x.
x
A synonym for magnitude2.
magnitude2
distance
distance2
length
magnitude