Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 24, 2005, 12:50:34 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: now there is a possibility to render the bvtree through the world entities, the bvtree is a member of the worldentity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/world_entity.h

    r4680 r4682  
    1212#include "factory.h"
    1313#include "load_param.h"
     14#include "bv_tree.h"
    1415#include "model.h"
    1516
    16 //class CollisionCluster;
     17
     18
    1719class CharacterAttributes;
    1820class SoundEngine;
    1921class SoundBuffer;
    2022class SoundSource;
     23
    2124
    2225//! Basic class from which all interactive stuff in the world is derived from
     
    5255  void processDraw ();
    5356  virtual void draw ();
     57  inline void drawBVTree(int depth, int drawMode) { this->obbTree->drawBV(depth, drawMode); }
    5458  virtual void tick (float time);
    5559
    5660 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.
    5862  CharacterAttributes* charAttr;      //!< the character attributes of a world_entity
     63  BVTree*             obbTree;       //!< this is the obb tree reference needed for collision detection
    5964
    6065 private:
Note: See TracChangeset for help on using the changeset viewer.