00001 #ifndef _ANTI_ROTATION_ 00002 #define _ANTI_ROTATION_ 00003 00004 #include "antistd.h" 00005 00006 typedef struct aeEuler 00007 { 00008 float yaw; 00009 float pitch; 00010 float roll; 00011 } aeEuler; 00012 00013 typedef struct aeAxisAngle 00014 { 00015 vec3 axis; 00016 float angle; 00017 } aeAxisAngle; 00018 00019 void aeQuatToAxisAngle(quat,aeAxisAngle*); 00020 void aeQuatToEuler(quat,aeEuler*); 00021 void aeQuatToMat33(quat,mat33); 00022 void aeAxisAngleToQuat(aeAxisAngle*,quat); 00023 void aeAxisAngleToEuler(aeAxisAngle*,aeEuler*); 00024 void aeAxisAngleToMat33(aeAxisAngle*,mat33); 00025 void aeEulerToQuat(aeEuler*,quat); 00026 void aeEulerToAxisAngle(aeEuler*,aeAxisAngle*); 00027 void aeEulerToMat33(aeEuler*,mat33); 00028 void aeMat33ToQuat(mat33,quat); 00029 void aeMat33ToEuler(mat33,aeEuler*); 00030 void aeMat33ToAxisAngle(mat33,aeAxisAngle*); 00031 00032 #endif