Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5279 in orxonox.OLD for trunk/src/lib/collision_detection


Ignore:
Timestamp:
Oct 4, 2005, 9:20:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: almost mac compatibility

Location:
trunk/src/lib/collision_detection
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/bounding_volume.h

    r5039 r5279  
    2525
    2626    sVec3D* getVertices() const { return this->vertices; }
    27     virtual void mergeWith(const BoundingVolume &bv) = NULL;
     27    virtual void mergeWith(const BoundingVolume &bv) = 0;
    2828
    29     virtual void drawBV(int currentDepth, int drawMode) const = NULL;
     29    virtual void drawBV(int currentDepth, int drawMode) const = 0;
    3030
    3131
  • trunk/src/lib/collision_detection/bv_tree.h

    r5039 r5279  
    3939  virtual ~BVTree();
    4040
    41   virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length) = NULL;
    42   virtual void flushTree() = NULL;
     41  virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length) = 0;
     42  virtual void flushTree() = 0;
    4343
    44   virtual void collideWith(BVTree* tree, WorldEntity* nodeA, WorldEntity* nodeB) = NULL;
    45   virtual void collideWith(WorldEntity* entity1, WorldEntity* entity2) = NULL;
     44  virtual void collideWith(BVTree* tree, WorldEntity* nodeA, WorldEntity* nodeB) = 0;
     45  virtual void collideWith(WorldEntity* entity1, WorldEntity* entity2) = 0;
    4646
    47   virtual void drawBV(int depth, int drawMode) const = NULL;
     47  virtual void drawBV(int depth, int drawMode) const = 0;
    4848
    4949
  • trunk/src/lib/collision_detection/bv_tree_node.h

    r5039 r5279  
    2525  virtual ~BVTreeNode();
    2626
    27   virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length ) = NULL;
     27  virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length ) = 0;
    2828
    29   virtual BoundingVolume* getBV(int index) const = NULL;
     29  virtual BoundingVolume* getBV(int index) const = 0;
    3030  inline const int getIndex() { return this->treeIndex; }
    3131
    32   virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = NULL;
     32  virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = 0;
    3333
    34   virtual void drawBV(int depth, int drawMode) = NULL;
     34  virtual void drawBV(int depth, int drawMode) = 0;
    3535
    3636
Note: See TracChangeset for help on using the changeset viewer.