# [−][src]Function nalgebra_glm::is_normalized

pub fn is_normalized<N: Real, D: Dimension>(v: &TVec<N, D>, epsilon: N) -> bool where

DefaultAllocator: Alloc<N, D>,

Returns `true`

if `v`

has a magnitude of 1 (up to an epsilon).

pub fn is_normalized<N: Real, D: Dimension>(v: &TVec<N, D>, epsilon: N) -> bool where

DefaultAllocator: Alloc<N, D>,

Returns `true`

if `v`

has a magnitude of 1 (up to an epsilon).