Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ent_define.h"
- class ent_base
- {
- void *parent;
- ent_Vector3f position;
- ent_Vector3f velocity;
- ent_Vector3f boundingBoxMin;
- ent_Vector3f boundingBoxMax;
- ent_CollisionGroup collisionGroup;
- public:
- ent_Vector3f LocalToWorld(void);
- ent_Vector3f WorldToLocal(void);
- void *GetParent(void);
- void SetParent(void *p);
- ent_Vector3f GetPosition(void);
- void SetPosition(ent_Vector3f pos);
- ent_Vector3f GetVelocity(void);
- void SetVelocity(ent_Vector3f vel);
- ent_Vector3f GetBoundingBoxMin(void);
- void SetBoundingBoxMin(ent_Vector3f min);
- ent_Vector3f GetBoundingBoxMax(void);
- void SetBoundingBoxMax(ent_Vector3f max);
- ent_Vector3f GetBoundingBoxCenter(void);
- void SetBoundingBoxCenter(ent_Vector3f center);
- void SetCollisionGroup(ent_CollisionGroup group);
- ent_CollisionGroup GetCollisionGroup(void);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement