pub fn slerp(&mut self, a: &Quaternion, b: &Quaternion, t: f32) {
        unsafe {
            ffi::cogl_quaternion_slerp(
                self.to_glib_none_mut().0,
                a.to_glib_none().0,
                b.to_glib_none().0,
                t,
            );
        }
    }
/// Performs a spherical linear interpolation between two quaternions.
///
/// Noteable properties:
/// `<itemizedlist>`
/// `<listitem>`
/// commutative: No
/// `</listitem>`
/// `<listitem>`
/// constant velocity: Yes
/// `</listitem>`
/// `<listitem>`
/// torque minimal (travels along the surface of the 4-sphere): Yes
/// `</listitem>`
/// `<listitem>`
/// more expensive than `Quaternion::nlerp`
/// `</listitem>`
/// `</itemizedlist>`
/// ## `a`
/// The first `Quaternion`
/// ## `b`
/// The second `Quaternion`
/// ## `t`
/// The factor in the range [0,1] used to interpolate between
/// quaternion `a` and `b`.
Performs a spherical linear interpolation between two quaternions.
Performs a spherical linear interpolation between two quaternions .
pub fn slerp(&mut self, a: &Quaternion, b: &Quaternion, t: f32) {
        unsafe {
            ffi::cogl_quaternion_slerp(
                self.to_glib_none_mut().0,
                a.to_glib_none().0,
                b.to_glib_none().0,
                t,
            );
        }
    }
pub fn slerp ( & mut self , a : & Quaternion , b : & Quaternion , t : f32 ) { unsafe { ffi :: cogl_quaternion_slerp ( self . to_glib_none_mut ( ) . 0 , a . to_glib_none ( ) . 0 , b . to_glib_none ( ) . 0 , t , ) ; } }
Performs a spherical linear interpolation between two quaternions.
Performs a spherical linear interpolation between two quaternions .
&mut self
a
&Quaternion
b
&Quaternion
t
f32
&mut self
a
&Quaternion
b
&Quaternion
t
f32
`a`
The first `Quaternion`
The first ` Quaternion `
`b`
The second `Quaternion`
The second ` Quaternion `
`t`
The factor in the range [0,1] used to interpolate between
quaternion `a` and `b`.
The factor in the range [ 0 1 ] used to interpolate between quaternion ` a ` and ` b ` .