Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2005, 12:31:47 AM (18 years ago)
Author:
patrick
Message:

collision_detection: work flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/collision_detection/src/lib/collision_detection/bv_tree_node.h

    r5716 r5717  
    2626  virtual ~BVTreeNode();
    2727
     28  virtual const BoundingVolume* getBV() const = 0;
     29  inline const int getIndex() const { return this->treeIndex; }
     30
    2831  virtual void spawnBVTree(const sVec3D *verticesList, unsigned int length ) = 0;
    2932  virtual void spawnBVTree(const modelInfo& modInfo, const int* triangleIndexes, unsigned int length) = 0;
    3033
    31   virtual const BoundingVolume* getBV() const = 0;
    32   inline const int getIndex() { return this->treeIndex; }
    33 
    34   virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = 0;
     34  virtual void collideWith(const BVTreeNode& treeNode, const WorldEntity& nodeA, const WorldEntity& nodeB) const = 0;
    3535
    3636  virtual void drawBV(int depth, int drawMode, const Vector& color = Vector(1,0,0), bool top = true) const = 0;
Note: See TracChangeset for help on using the changeset viewer.