pub fn from_polar_decomposition(scale: N, theta: N, axis: Unit<Vector3<N>>)
        -> Quaternion<N> {
        let rot = UnitQuaternion::from_axisangle(axis, theta * ::cast(2.0));

        rot.unwrap() * scale
    }
/// Creates a new quaternion from its polar decomposition.
///
/// Note that `axis` is assumed to be a unit vector.
Creates a new quaternion from its polar decomposition.
Note that `axis` is assumed to be a unit vector.
Creates a new quaternion from its polar decomposition . Note that ` axis ` is assumed to be a unit vector .
pub fn from_polar_decomposition(scale: N, theta: N, axis: Unit<Vector3<N>>)
        -> Quaternion<N> {
        let rot = UnitQuaternion::from_axisangle(axis, theta * ::cast(2.0));
        rot.unwrap() * scale
    }
pub fn from_polar_decomposition ( scale : N , theta : N , axis : Unit < Vector3 < N > > ) -> Quaternion < N > { let rot = UnitQuaternion :: from_axisangle ( axis , theta * :: cast ( 2.0 ) ) ; rot . unwrap ( ) * scale }
Creates a new quaternion from its polar decomposition.
Creates a new quaternion from its polar decomposition .
scale
N
theta
N
axis
Unit<Vector3<N>>
scale
N
theta
N
axis
Unit<Vector3<N>>