Function vec3::position_mat32 [−][src]
pub fn position_mat32<'out, T>(
out: &'out mut [T; 3],
m: &[T; 6]
) -> &'out mut [T; 3] where
T: Clone + Zero,
Example
let mut v = vec3::new_one(); vec3::position_mat32(&mut v, &[1_f32, 0_f32, 0_f32, 1_f32, 1_f32, 1_f32]); assert_eq!(v, [1_f32, 1_f32, 0_f32]);