[][src]Function nalgebra_glm::length2

pub fn length2<N: RealField, D: Dimension>(x: &TVec<N, D>) -> N where
    DefaultAllocator: Alloc<N, D>, 

The squared magnitude of x.

A synonym for magnitude2.

See also: