Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5501 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Nov 8, 2005, 12:47:09 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor movement in the Source.

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r5500 r5501  
    222222 * @param drawMode the mode to draw this entity under
    223223 */
    224 void WorldEntity::drawBVTree(unsigned int depth, int drawMode)
     224void WorldEntity::drawBVTree(unsigned int depth, int drawMode) const
    225225{
    226226  glMatrixMode(GL_MODELVIEW);
  • trunk/src/world_entities/world_entity.h

    r5500 r5501  
    5050  virtual void leftWorld ();
    5151
     52  virtual void tick (float time);
     53  virtual void draw () const;
    5254  virtual void collidesWith (WorldEntity* entity, const Vector& location);
     55
    5356
    5457  /** @returns the Count of Faces on this WorldEntity */
    5558  virtual unsigned int getFaceCount () const { if (this->model) return this->model->getFaceCount(); else return 0; };
    5659
    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;
    6061
    6162 protected:
Note: See TracChangeset for help on using the changeset viewer.