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/graphics/spatial_separation/spatial_separation.cc

    r4922 r4923  
    99   any later version.
    1010
    11    ### File Specific:
     11### File Specific:
    1212   main-programmer: Patrick Boenzli
    1313   co-programmer: ...
     
    3030   The boxes are overlaping because this makes collision detection a lot simpler
    3131
    32 */
     32 */
    3333SpatialSeparation::SpatialSeparation (AbstractModel* model, float overlapSize)
    3434{
    35   PRINT(3)("\n");
    3635  PRINT(3)("+---------Debug Information SpatialSeparation----------\n");
    3736  PRINT(3)("+-| (Event) Spatial Separation process kicked on\n");
    3837
    39    this->setClassID(CL_SPATIAL_SEPARATION, "SpatialSeparation");
    40    /* debug vice */
    41    this->createQuadtree(model);
     38  this->setClassID(CL_SPATIAL_SEPARATION, "SpatialSeparation");
     39  /* debug vice */
     40  this->createQuadtree(model);
    4241}
     42
    4343
    4444/**
     
    4848
    4949   The boxes are overlaping because this makes collision detection a lot simpler
    50 
    5150 */
    5251SpatialSeparation::SpatialSeparation (AbstractModel* model, AbstractModel* playerModel)
     
    5958/**
    6059 *  standard deconstructor
    61 
    62 */
     60 */
    6361SpatialSeparation::~SpatialSeparation ()
    6462{
     
    6765
    6866/**
    69   \brief creates a quadtree
    70 * @param model the model to do a quadtree on
    71 * @param minLength the minimal length of a quadtree node
    72   \return the new quadtree
     67 * creates a quadtree
     68 * @param model the model to do a quadtree on
     69 * @param minLength the minimal length of a quadtree node
     70 * @return the new quadtree
    7371 */
    7472Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model, float minLength)
     
    8078
    8179/**
    82   \brief creates a quadtree
    83 * @param model the model to do a quadtree on
    84 * @param minLength the minimal length of a quadtree node
    85   \return the new quadtree
     80 brief creates a quadtree
     81 * @param model the model to do a quadtree on
     82 * @param minLength the minimal length of a quadtree node
     83 * @return the new quadtree
    8684 */
    8785Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model, int treeDepth)
     
    9290
    9391/**
    94   \brief creates a quadtree
    95 * @param model the model to do a quadtree on
    96 * @param minLength the minimal length of a quadtree node
    97   \return the new quadtree
    98 */
     92 * creates a quadtree
     93 * @param model the model to do a quadtree on
     94 * @param minLength the minimal length of a quadtree node
     95 * @return the new quadtree
     96 */
    9997Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model)
    10098{
     
    105103
    106104
    107 
     105/**
     106 *  draws all the quadtrees
     107 */
    108108void SpatialSeparation::drawQuadtree()
    109109{
Note: See TracChangeset for help on using the changeset viewer.