Changeset 5501 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Nov 8, 2005, 12:47:09 AM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.cc
r5500 r5501 222 222 * @param drawMode the mode to draw this entity under 223 223 */ 224 void WorldEntity::drawBVTree(unsigned int depth, int drawMode) 224 void WorldEntity::drawBVTree(unsigned int depth, int drawMode) const 225 225 { 226 226 glMatrixMode(GL_MODELVIEW); -
trunk/src/world_entities/world_entity.h
r5500 r5501 50 50 virtual void leftWorld (); 51 51 52 virtual void tick (float time); 53 virtual void draw () const; 52 54 virtual void collidesWith (WorldEntity* entity, const Vector& location); 55 53 56 54 57 /** @returns the Count of Faces on this WorldEntity */ 55 58 virtual unsigned int getFaceCount () const { if (this->model) return this->model->getFaceCount(); else return 0; }; 56 59 57 virtual void tick (float time); 58 virtual void draw () const; 59 void drawBVTree(unsigned int depth, int drawMode); 60 void drawBVTree(unsigned int depth, int drawMode) const; 60 61 61 62 protected:
Note: See TracChangeset
for help on using the changeset viewer.