Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

orxonox/trunk: more cleanup, and more cleanup to come

File:
1 edited

Legend:

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

    r4921 r4923  
    99   any later version.
    1010
    11    ### File Specific:
     11### File Specific:
    1212   main-programmer: Patrick Boenzli
    1313   co-programmer: ...
     
    3636/**
    3737 *  standard constructor
    38 */
     38 */
    3939CDEngine::CDEngine ()
    4040{
    41    this->setClassID(CL_CD_ENGINE, "CDEngine");
    42 
    43    /* testing purposes only: */
    44    //this->rootTree = new OBBTree();
    45 }
    46 
    47 /**
    48  *  the singleton reference to this class
    49 */
    50 CDEngine* CDEngine::singletonRef = NULL;
    51 
    52 /**
    53  *  standard deconstructor
    54 
    55 */
    56 CDEngine::~CDEngine ()
    57 {
    58   CDEngine::singletonRef = NULL;
    59 
     41  this->setClassID(CL_CD_ENGINE, "CDEngine");
    6042}
    6143
    6244
    6345/**
    64   \brief this is the collision checking function
     46 *  the singleton reference to this class
     47 */
     48CDEngine* CDEngine::singletonRef = NULL;
    6549
    66   there are some speed improvements that can be done here. a rewrite of the list a would be appropriate to
    67   be able to enhance iteration speed.
     50
     51/**
     52 *  standard deconstructor
     53 */
     54CDEngine::~CDEngine ()
     55{
     56  CDEngine::singletonRef = NULL;
     57}
     58
     59
     60/**
     61 *  this is the collision checking function
     62
     63    there are some speed improvements that can be done here. a rewrite of the list a would be appropriate to
     64    be able to enhance iteration speed.
    6865 */
    6966void CDEngine::checkCollisions()
Note: See TracChangeset for help on using the changeset viewer.