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