Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 21, 2005, 4:46:41 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: the last cleanups, now the classes look better

Location:
orxonox/trunk/src/lib/collision_detection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/cd_engine.cc

    r4923 r4924  
    7171
    7272
    73 
     73/**
     74 *  this checks the collisions with the objects
     75 */
    7476void CDEngine::checkCollisionObjects()
    7577{
     
    9698
    9799
     100/**
     101 *  this checks the collisions with the ground
     102 */
    98103void CDEngine::checkCollisionGround()
    99104{
     
    103108
    104109
     110/**
     111 *  this draws the bounding volume tree
     112 * @param depth until which depth to draw the tree
     113 * @param drawMode mod which states how to draw it
     114 */
    105115void CDEngine::drawBV(int depth, int drawMode) const
    106116{
     
    116126  }
    117127  delete iterator;
    118   //model->draw();
    119128}
    120129
    121130
    122 
    123 
    124 
     131/**
     132 * some debug output on the class
     133 */
    125134void CDEngine::debug()
    126135{
     
    133142}
    134143
     144
     145/**
     146 * this spawns a tree for debug purposes only
     147 */
    135148void CDEngine::debugSpawnTree(int depth, sVec3D* vertices, int numVertices)
    136149{
     
    140153}
    141154
     155
     156/**
     157 * this draws the debug spawn tree
     158 */
    142159void CDEngine::debugDraw(int depth, int drawMode)
    143160{
  • orxonox/trunk/src/lib/collision_detection/cd_engine.h

    r4919 r4924  
    5555
    5656  void debug();
    57   void debugSpawnTree(int depth, sVec3D* vertices, int numVertices);
    58   void debugDraw(int depth, int drawMode);
     57
    5958
    6059 private:
     
    6665  void checkCollisionObjects();
    6766  void checkCollisionGround();
     67
     68  void debugSpawnTree(int depth, sVec3D* vertices, int numVertices);
     69  void debugDraw(int depth, int drawMode);
    6870
    6971
Note: See TracChangeset for help on using the changeset viewer.