- Timestamp:
- Jun 24, 2005, 2:40:51 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/cd_engine.cc
r4675 r4688 59 59 60 60 61 void CDEngine::checkCollisionObjects() 62 {} 63 64 65 void CDEngine::checkCollisionGround() 66 {} 67 68 61 69 void CDEngine::drawBV(int depth, int drawMode) const 62 70 { -
orxonox/trunk/src/lib/collision_detection/cd_engine.h
r4635 r4688 39 39 void init(); 40 40 41 void setState(const int newState) { this->state = newState; } 42 const int getState() const { return this->state; } 43 void enable(const int options) { this->state |= options; } 44 void disable(const int options) { int temp = this->state & options; this->state ^= temp; } 41 inline void setState(const int newState) { this->state = newState; } 42 inline const int getState() const { return this->state; } 43 inline void enable(const int options) { this->state |= options; } 44 inline void disable(const int options) { int temp = this->state & options; this->state ^= temp; } 45 46 inline void setEntityList(tList<WorldEntity>* entityList) { this->entityList = entityList; } 45 47 46 48 void drawBV(int depth, int drawMode) const; -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4685 r4688 501 501 } 502 502 503 PRINTF( 0)("longest axis is: nr %i with a half-length of: %f\n", axisIndex, aLength);503 PRINTF(3)("longest axis is: nr %i with a half-length of: %f\n", axisIndex, aLength); 504 504 505 505 … … 648 648 glEnd(); 649 649 } 650 650 651 651 652 if( drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL) -
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4686 r4688 72 72 entityList->add(b); 73 73 74 CDEngine::getInstance()->setEntityList(entityList); 74 75 75 76 LightManager* lightMan = LightManager::getInstance(); … … 198 199 void Framework::moduleTick(float dt) 199 200 { 201 202 CDEngine::getInstance()->checkCollisions(); 200 203 201 204 currentFrame = SDL_GetTicks();
Note: See TracChangeset
for help on using the changeset viewer.