Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2006, 7:12:41 PM (19 years ago)
Author:
patrick
Message:

cd: compiles again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/current_cd/src/world_entities/world_entity.h

    r6910 r6911  
    3939  void setModel(Model* model, unsigned int modelNumber = 0);
    4040  Model* getModel(unsigned int modelNumber = 0) const { return (this->models.size() > modelNumber)? this->models[modelNumber] : NULL; };
     41  bool buildObbTree(int depth);
    4142
    4243  inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; }
    43 
    44   bool buildObbTree(unsigned int depth);
    45   /** @returns a reference to the obb tree of this worldentity */
    46   BVTree* getOBBTree() const { return this->obbTree; };
    4744
    4845  /** @param visibility if the Entity should be visible (been draw) */
     
    5148  inline bool isVisible() const { return this->bVisible; };
    5249
    53 
    54 
    5550  virtual void postSpawn ();
    5651  virtual void leftWorld ();
    5752
    5853  virtual void tick (float time);
    59 
    6054  virtual void draw () const;
    6155
    62 
    6356  virtual void collidesWith (WorldEntity* entity, const Vector& location);
    64 
    6557  void drawBVTree(unsigned int depth, int drawMode) const;
    6658  /** @returns a reference to the obb tree of this worldentity */
    67   inline const BVTree* getOBBTree() const { return this->obbTree; };
    68 
     59  inline BVTree* getOBBTree() const { return this->obbTree; };
    6960
    7061
Note: See TracChangeset for help on using the changeset viewer.