XSMATHINLINE XsReal XsMath_asinClamped(const XsReal x)
Returns asin(x) for -1 < x < 1.
XSMATHCONST XsReal XsMath_one
1.0
XsReal m_x
Stores the x component of the euler triplet.
A class that implements a quaternion.
int XsQuaternion_empty(const XsQuaternion *thisPtr)
Test if this is a null object.
XSMATHINLINE XsReal XsMath_rad2deg(XsReal radians)
Convert radians to degrees.
double XsReal
Defines the floating point type used by the Xsens libraries.
XsReal m_x
Stores the x component of the quaternion.
XsReal m_z
Stores the z component of the euler triplet.
XSMATHCONST XsReal XsMath_two
2
XSMATHCONST XsReal XsMath_zero
0
void XsEuler_destruct(XsEuler *thisPtr)
Clears all angles in the XsEuler object by setting them to 0.
void XsEuler_fromQuaternion(XsEuler *thisPtr, const XsQuaternion *quat)
Get an euler angle representation of the quaternion.
Contains Euler Angle data and conversion from Quaternion.
XsReal m_y
Stores the y component of the quaternion.
XsReal m_y
Stores the y component of the euler triplet.
XsReal m_w
Stores the w component of the quaternion.
XsReal m_z
Stores the z component of the quaternion.
int XsEuler_empty(const XsEuler *thisPtr)
Returns true if all angles in this object are zero.