pub fn init_from_matrix(&mut self, matrix: &Matrix) {
        unsafe {
            ffi::cogl_quaternion_init_from_matrix(
                self.to_glib_none_mut().0,
                matrix.to_glib_none().0,
            );
        }
    }
/// Initializes a quaternion from a rotation matrix.
/// ## `matrix`
/// A rotation matrix with which to initialize the quaternion
Initializes a quaternion from a rotation matrix.
Initializes a quaternion from a rotation matrix .
pub fn init_from_matrix(&mut self, matrix: &Matrix) {
        unsafe {
            ffi::cogl_quaternion_init_from_matrix(
                self.to_glib_none_mut().0,
                matrix.to_glib_none().0,
            );
        }
    }
pub fn init_from_matrix ( & mut self , matrix : & Matrix ) { unsafe { ffi :: cogl_quaternion_init_from_matrix ( self . to_glib_none_mut ( ) . 0 , matrix . to_glib_none ( ) . 0 , ) ; } }
Initializes a quaternion from a rotation matrix.
Initializes a quaternion from a rotation matrix .
&mut self
matrix
&Matrix
&mut self
matrix
&Matrix
`matrix`
A rotation matrix with which to initialize the quaternion
A rotation matrix with which to initialize the quaternion