/**** QuatTypes.h - Basic type declarations ****/ #ifndef _H_QuatTypes #define _H_QuatTypes /*** Definitions ***/ typedef struct {float x, y, z, w;} Quat; /* Quaternion */ enum QuatPart {X, Y, Z, W}; typedef float HMatrix[4][4]; /* Right-handed, for column vectors */ typedef Quat EulerAngles; /* (x,y,z)=ang 1,2,3, w=order code */ #endif