Example #1
0
	HawkQuaternion HawkQuaternion::UnitInverse () const
	{
		HawkQuaternion oQuat(W,-X,-Y,-Z);
		return oQuat.Inverse();
	}
Example #2
0
 CAxisRotation::CAxisRotation(const CEulerRotation & oRot) {
    CLog oLog("math","CAxisRotation::Constructor (CEulerRotation)",LL_OBJECT);
    CQuaternion oQuat(oRot);
    *this = CAxisRotation(oQuat);
 } //CAxisRotation(const CEulerRotation & oRot)