00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Games S.W.A.T. Team 00004 // 00005 // (c) Copyright 2001 Avid Technology, Inc. . All rights reserved. 00006 // 00007 // $Archive: /Games/XSI/v1_0/src/Core/Sibc/QuatTypes.h $ 00008 // $Revision: 2 $ $Date: 10/19/99 2:26p $ 00009 // Checkin by: $Author: Rcleven $ 00010 // 00011 // @doc 00012 // 00013 // @module QuatTypes.h | 00014 //*************************************************************************************** 00015 00016 /**** QuatTypes.h - Basic type declarations ****/ 00017 #ifndef _H_QuatTypes 00018 #define _H_QuatTypes 00019 /*** Definitions ***/ 00020 typedef struct {float x, y, z, w;} Quat; /* Quaternion */ 00021 enum QuatPart {X, Y, Z, W}; 00022 typedef float HMatrix[4][4]; /* Right-handed, for column vectors */ 00023 typedef Quat EulerAngles; /* (x,y,z)=ang 1,2,3, w=order code */ 00024 #endif 00025