Advertisement
captmicro

Untitled

Feb 18th, 2010
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.84 KB | None | 0 0
  1. #include "ent_define.h"
  2.  
  3. class ent_base
  4. {
  5.     void *parent;
  6.     ent_Vector3f position;
  7.     ent_Vector3f velocity;
  8.     ent_Vector3f boundingBoxMin;
  9.     ent_Vector3f boundingBoxMax;
  10.     ent_CollisionGroup collisionGroup;
  11.  
  12. public:
  13.     ent_Vector3f LocalToWorld(void);
  14.     ent_Vector3f WorldToLocal(void);
  15.  
  16.     void *GetParent(void);
  17.     void SetParent(void *p);
  18.  
  19.     ent_Vector3f GetPosition(void);
  20.     void SetPosition(ent_Vector3f pos);
  21.  
  22.     ent_Vector3f GetVelocity(void);
  23.     void SetVelocity(ent_Vector3f vel);
  24.  
  25.     ent_Vector3f GetBoundingBoxMin(void);
  26.     void SetBoundingBoxMin(ent_Vector3f min);
  27.     ent_Vector3f GetBoundingBoxMax(void);
  28.     void SetBoundingBoxMax(ent_Vector3f max);
  29.     ent_Vector3f GetBoundingBoxCenter(void);
  30.     void SetBoundingBoxCenter(ent_Vector3f center);
  31.  
  32.     void SetCollisionGroup(ent_CollisionGroup group);
  33.     ent_CollisionGroup GetCollisionGroup(void);
  34. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement