Function vec3::len_values [−][src]
pub fn len_values<T>(x: &T, y: &T, z: &T) -> T where
T: Real,
&'a T: Mul<&'b T, Output = T>,
Example
assert_eq!(vec3::len_values(&1_f32, &1_f32, &1_f32), 3_f32.sqrt());
pub fn len_values<T>(x: &T, y: &T, z: &T) -> T where
T: Real,
&'a T: Mul<&'b T, Output = T>,
assert_eq!(vec3::len_values(&1_f32, &1_f32, &1_f32), 3_f32.sqrt());