Function vecmath::vec2_normalized [] [src]

pub fn vec2_normalized<T>(a: Vector2<T>) -> Vector2<T> where T: Copy + One + Sqrt + Add<T, Output=T> + Mul<T, Output=T> + Div<T, Output=T>

Computes the normalized.