/** * vsg_quaternion@t@_invert: * @quat: a #VsgQuaternion@t@ * @result: a #VsgQuaternion@t@ * * Performs #VsgQuaternion@t@ (as a 3D rotation) of @quat and stores * the result in @result. Argument aliasing is allowed. * * Returns: a flag indicating success of the inversion. */ gboolean vsg_quaternion@t@_invert (const VsgQuaternion@t@ *quat, VsgQuaternion@t@ *result) { #ifdef VSG_CHECK_PARAMS g_return_val_if_fail (quat != NULL, 0); g_return_val_if_fail (result != NULL, 0); #endif return vsg_quaternion@t@_invert_inline (quat, result); }
/** * vsg_matrix3@t@_invert: * @mat: a #VsgMatrix3@t@ * @result: a #VsgMatrix3@t@ * * Computes matrix inversion of @mat and stores the result in @result. * Argument aliasing is allowed. * * Returns: a flag indicating success of the inversion. */ gboolean vsg_matrix3@t@_invert (const VsgMatrix3@t@ *mat, VsgMatrix3@t@ *result) { #ifdef VSG_CHECK_PARAMS g_return_val_if_fail (mat != NULL, FALSE); g_return_val_if_fail (result != NULL, FALSE); #endif return vsg_matrix3@t@_invert_inline (mat, result); }