Function vecmath::vec2_inv_len [−][src]
pub fn vec2_inv_len<T>(a: Vector2<T>) -> T where
T: Copy + One + Sqrt + Add<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T>,
Computes the inverse length of a vector.
pub fn vec2_inv_len<T>(a: Vector2<T>) -> T where
T: Copy + One + Sqrt + Add<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T>,
Computes the inverse length of a vector.