Function quat::rotation_x [−][src]
pub fn rotation_x<'out, T>(out: &[T; 4]) -> T where
T: Real + FromPrimitive,
Example
use std::f32::consts::PI; assert_eq!(quat::rotation_x(&quat::new_identity::<f32>()), PI);
pub fn rotation_x<'out, T>(out: &[T; 4]) -> T where
T: Real + FromPrimitive,
use std::f32::consts::PI; assert_eq!(quat::rotation_x(&quat::new_identity::<f32>()), PI);