Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4528 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jun 7, 2005, 8:59:03 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: started implementing the bv tree and more specificaly the obb tree

Location:
orxonox/trunk/src/lib/collision_detection
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/bv_tree.cc

    r4511 r4528  
    3939  // delete what has to be deleted here
    4040}
     41
     42
  • orxonox/trunk/src/lib/collision_detection/bv_tree.h

    r4524 r4528  
    2121  virtual ~BVTree();
    2222
    23   void spawnBVTree(int depth);
    24   void flushTree();
     23  virtual void spawnBVTree(int depth);
     24  virtual void flushTree();
    2525
    2626  BoundingVolume* getBV(int index) const;
    2727 
    28   void collideWith(const BVTree &tree);
     28  virtual void collideWith(const BVTree &tree);
    2929
    30   void drawBV(int currentDepth, const int depth) const;
    31   void drawBVPolygon(int currentDepth, const int depth) const;
    32   void drawBVBlended(int currentDepth, const int depth) const;
     30  virtual void drawBV(int currentDepth, const int depth) const;
     31  virtual void drawBVPolygon(int currentDepth, const int depth) const;
     32  virtual void drawBVBlended(int currentDepth, const int depth) const;
    3333
    3434 private:
  • orxonox/trunk/src/lib/collision_detection/obb_tree.cc

    r4511 r4528  
    3939  // delete what has to be deleted here
    4040}
     41
     42
     43void OBBTree::spawnBVTree(int depth)
     44{}
     45
     46
     47void OBBTree:: flushTree()
     48{}
     49
     50
     51void OBBTree::collideWith(const OBBTree &tree)
     52{}
     53
     54
     55void OBBTree::drawBV(int currentDepth, const int depth) const
     56{}
     57
     58
     59void OBBTree::drawBVPolygon(int currentDepth, const int depth) const
     60{}
     61
     62
     63void OBBTree::drawBVBlended(int currentDepth, const int depth) const
     64{}
  • orxonox/trunk/src/lib/collision_detection/obb_tree.h

    r4526 r4528  
    1818  virtual ~OBBTree();
    1919
     20  virtual void spawnBVTree(int depth);
     21  virtual void flushTree();
     22
     23  void collideWith(const OBBTree &tree);
     24
     25  virtual void drawBV(int currentDepth, const int depth) const;
     26  virtual void drawBVPolygon(int currentDepth, const int depth) const;
     27  virtual void drawBVBlended(int currentDepth, const int depth) const;
    2028
    2129 private:
Note: See TracChangeset for help on using the changeset viewer.