Function nalgebra_glm::length2[][src]

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

The squared magnitude of x.

A synonym for magnitude2.

See also: