Changeset 4682 in orxonox.OLD for orxonox/trunk/src/world_entities/world_entity.h
- Timestamp:
- Jun 24, 2005, 12:50:34 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.h
r4680 r4682 12 12 #include "factory.h" 13 13 #include "load_param.h" 14 #include "bv_tree.h" 14 15 #include "model.h" 15 16 16 //class CollisionCluster; 17 18 17 19 class CharacterAttributes; 18 20 class SoundEngine; 19 21 class SoundBuffer; 20 22 class SoundSource; 23 21 24 22 25 //! Basic class from which all interactive stuff in the world is derived from … … 52 55 void processDraw (); 53 56 virtual void draw (); 57 inline void drawBVTree(int depth, int drawMode) { this->obbTree->drawBV(depth, drawMode); } 54 58 virtual void tick (float time); 55 59 56 60 protected: 57 Model* model; //!< The model that should be loaded for this entity.61 Model* model; //!< The model that should be loaded for this entity. 58 62 CharacterAttributes* charAttr; //!< the character attributes of a world_entity 63 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection 59 64 60 65 private:
Note: See TracChangeset
for help on using the changeset viewer.