pub fn init_from_angle_vector(&mut self, angle: f32, axis3f: &[f32; 3]) {
        unsafe {
            ffi::cogl_quaternion_init_from_angle_vector(
                self.to_glib_none_mut().0,
                angle,
                axis3f.to_glib_none().0,
            );
        }
    }
/// Initializes a quaternion that rotates `angle` degrees around the
/// given `axis` vector. The axis vector does not need to be
/// normalized.
///
/// ## `angle`
/// The angle to rotate around `axis3f`
/// ## `axis3f`
/// your 3 component axis vector about which you want to rotate.
Initializes a quaternion that rotates `angle` degrees around the
given `axis` vector. The axis vector does not need to be
normalized.
Initializes a quaternion that rotates ` angle ` degrees around the given ` axis ` vector . The axis vector does not need to be normalized .
pub fn init_from_angle_vector(&mut self, angle: f32, axis3f: &[f32; 3]) {
        unsafe {
            ffi::cogl_quaternion_init_from_angle_vector(
                self.to_glib_none_mut().0,
                angle,
                axis3f.to_glib_none().0,
            );
        }
    }
pub fn init_from_angle_vector ( & mut self , angle : f32 , axis3f : & [ f32 ; 3 ] ) { unsafe { ffi :: cogl_quaternion_init_from_angle_vector ( self . to_glib_none_mut ( ) . 0 , angle , axis3f . to_glib_none ( ) . 0 , ) ; } }
Initializes a quaternion that rotates `angle` degrees around the
given `axis` vector.
Initializes a quaternion that rotates ` angle ` degrees around the given ` axis ` vector .
&mut self
angle
f32
axis3f
&[f32; 3]
&mut self
angle
f32
axis3f
&[f32; 3]
`angle`
The angle to rotate around `axis3f`
The angle to rotate around ` axis3f `
`axis3f`
your 3 component axis vector about which you want to rotate.
your 3 component axis vector about which you want to rotate .