00001 // Object Class by Alan Baylis 2001 00002 00003 #ifndef ObjectH 00004 #define ObjectH 00005 00006 #include "vector.h" 00007 #include "quat.h" 00008 00009 class OBJECT 00010 { 00011 public: 00012 OBJECT(); 00013 ~OBJECT(); 00014 00015 void Reset(); 00016 void Rotate(); 00017 void Draw(); 00018 void UpdatePosition(); 00019 void UpdatePosition(float x, float y, float z); 00020 void MoveX(); 00021 void MoveY(); 00022 void MoveZ(); 00023 void MoveX(float x); 00024 void MoveY(float y); 00025 void MoveZ(float z); 00026 VECTOR GetXUnit(); 00027 VECTOR GetYUnit(); 00028 VECTOR GetZUnit(); 00029 00030 QUAT Orientation; 00031 VECTOR Position; 00032 float Delta_x; //Rotation deltas 00033 float Delta_y; 00034 float Delta_z; 00035 float Movement_x; //Movement displacements 00036 float Movement_y; 00037 float Movement_z; 00038 float Multiplier; 00039 }; 00040 00041 #endif