Changeset 4524 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jun 7, 2005, 12:29:52 AM (20 years ago)
- Location:
- orxonox/trunk/src/util/collision_detection
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/collision_detection/bounding_volume.h
r4522 r4524 25 25 26 26 virtual sVect3D* getVertices() const = NULL; 27 virtual void mergeWith(const BoundingVolume &bv) = NULL;27 virtual void mergeWith(const BoundingVolume &bv) = NULL; 28 28 29 virtual void drawBV(int currentDepth, int depth) const = NULL;30 virtual void drawBVPolygon(int currentDepth, int depth) const = NULL;31 virtual void drawBVBlended(int currentDepth, int depth) const = NULL;29 virtual void drawBV(int currentDepth, const int depth) const = NULL; 30 virtual void drawBVPolygon(int currentDepth, const int depth) const = NULL; 31 virtual void drawBVBlended(int currentDepth, const int depth) const = NULL; 32 32 33 33 private: -
orxonox/trunk/src/util/collision_detection/bv_tree.h
r4514 r4524 11 11 12 12 // FORWARD DEFINITION 13 13 class BoundingVolume; 14 14 15 15 … … 21 21 virtual ~BVTree(); 22 22 23 void spawnBVTree(int depth); 24 void flushTree(); 25 26 BoundingVolume* getBV(int index) const; 27 28 void collideWith(const BVTree &tree); 29 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; 23 33 24 34 private: 35 BoundingVolume* firstElement; 25 36 26 37 }; -
orxonox/trunk/src/util/collision_detection/cd_engine.h
r4523 r4524 37 37 const int getState() const { return this->state; } 38 38 void enable(const int options) { this->state |= options; } 39 void disable(const int options) { int temp = this->state & options; this->state ^= temp; }39 void disable(const int options) { int temp = this->state & options; this->state ^= temp; } 40 40 41 void drawBV(int currentDepth, int depth) const;42 void drawBVPolygon(int currentDepth, int depth) const;43 void drawBVBlended(int currentDepth, int depth) const;41 void drawBV(int currentDepth, const int depth) const; 42 void drawBVPolygon(int currentDepth, const int depth) const; 43 void drawBVBlended(int currentDepth, const int depth) const; 44 44 45 45 void checkCollisions();
Note: See TracChangeset
for help on using the changeset viewer.