QuatTypes.h

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Crosswalk team
00004 //
00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.  
00006 // Use of this software is subject to the terms of the Autodesk license agreement 
00007 // provided at the time of installation or download, or which otherwise accompanies 
00008 // this software in either electronic or hard copy form.
00009 //
00010 //***************************************************************************************
00011 
00012 /**** QuatTypes.h - Basic type declarations ****/
00013 #ifndef _H_QuatTypes
00014 #define _H_QuatTypes
00015 /*** Definitions ***/
00016 typedef struct {float x, y, z, w;} Quat; /* Quaternion */
00017 enum QuatPart {X, Y, Z, W};
00018 typedef float HMatrix[4][4]; /* Right-handed, for column vectors */
00019 typedef Quat EulerAngles;    /* (x,y,z)=ang 1,2,3, w=order code  */
00020 #endif
00021