12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- typedef enum
- {
- EntityFlag_Visible = 1,
- EntityFlag_Collision = 2,
- EntityFlag_Particle = 4,
- EntityFlag_World = 8
-
- } EntityFlag;
-
-
- class Entity
- {
- public:
-
- ////////////////////////////////////////////////////////////
- // Constructors
- ////////////////////////////////////////////////////////////
-
-
- ////////////////////////////////////////////////////////////
- // Public Accessors
- ////////////////////////////////////////////////////////////
-
-
-
- ////////////////////////////////////////////////////////////
- // Public Mutators
- ////////////////////////////////////////////////////////////
-
-
- unsigned int mId; /* Unique identifier */
-
- Vector3d mPos; /* World position */
-
- Quaternion mOrientation; /* Orientation (Pitch, Yaw, Roll) */
-
- BoundingVolume mVolume; /* Bounding volume of entity */
-
- Mass mMass; /* Mass of this entity */
-
- EntityFlag mFlag; /* Flags of this entity */
-
- private:
-
- ////////////////////////////////////////////////////////////
- // Private Accessors
- ////////////////////////////////////////////////////////////
-
-
- ////////////////////////////////////////////////////////////
- // Private Mutators
- ////////////////////////////////////////////////////////////
- };
-
|