Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8508 in orxonox.OLD for branches/bsp_model/src/world_entities


Ignore:
Timestamp:
Jun 15, 2006, 11:59:56 PM (18 years ago)
Author:
patrick
Message:

bsp: added the bounding box for each model on WE level

File:
1 edited

Legend:

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

    r8507 r8508  
    1515#include "glincl.h"
    1616#include <vector>
     17
     18#include "aabb_tree_node.h"
    1719
    1820#include "physics_interface.h"
     
    7476  inline BVTree* getOBBTree() const { return this->obbTree; };
    7577  void drawBVTree(int depth, int drawMode) const;
     78  inline AABB* getModelAABB() { return (this->aabbNode)?this->aabbNode->getAABB():NULL;}
    7679
    7780  /* --- Collision Reaction Block --- */
Note: See TracChangeset for help on using the changeset viewer.