Changeset 5279 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Oct 4, 2005, 9:20:04 PM (19 years ago)
- Location:
- trunk/src/lib/collision_detection
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/bounding_volume.h
r5039 r5279 25 25 26 26 sVec3D* getVertices() const { return this->vertices; } 27 virtual void mergeWith(const BoundingVolume &bv) = NULL;27 virtual void mergeWith(const BoundingVolume &bv) = 0; 28 28 29 virtual void drawBV(int currentDepth, int drawMode) const = NULL;29 virtual void drawBV(int currentDepth, int drawMode) const = 0; 30 30 31 31 -
trunk/src/lib/collision_detection/bv_tree.h
r5039 r5279 39 39 virtual ~BVTree(); 40 40 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; 43 43 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; 46 46 47 virtual void drawBV(int depth, int drawMode) const = NULL;47 virtual void drawBV(int depth, int drawMode) const = 0; 48 48 49 49 -
trunk/src/lib/collision_detection/bv_tree_node.h
r5039 r5279 25 25 virtual ~BVTreeNode(); 26 26 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; 28 28 29 virtual BoundingVolume* getBV(int index) const = NULL;29 virtual BoundingVolume* getBV(int index) const = 0; 30 30 inline const int getIndex() { return this->treeIndex; } 31 31 32 virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = NULL;32 virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = 0; 33 33 34 virtual void drawBV(int depth, int drawMode) = NULL;34 virtual void drawBV(int depth, int drawMode) = 0; 35 35 36 36
Note: See TracChangeset
for help on using the changeset viewer.