Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4889 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Jul 18, 2005, 10:27:16 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added the debug draw function to the quadtree

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/terrain.cc

    r4855 r4889  
    3939  this->loadParams(root);
    4040
    41   SpatialSeparation* ssp = new SpatialSeparation((AbstractModel*)this->model, 10.0f);
    42   delete ssp;
     41  this->ssp = new SpatialSeparation((AbstractModel*)this->model, 10.0f);
     42// //   delete ssp;
    4343}
    4444
     
    8383  if (objectList)
    8484    glDeleteLists(this->objectList, 1);
     85  if( this->ssp)
     86    delete ssp;
    8587}
    8688
  • orxonox/trunk/src/world_entities/terrain.h

    r4836 r4889  
    1515// FORWARD DEFINITION \\
    1616class TiXmlElement;
     17class SpatialSeparation;
    1718
    1819//! A simple method to call a desired debug world.
     
    3839 private:
    3940  int objectList;
     41  SpatialSeparation* ssp;
    4042};
    4143
Note: See TracChangeset for help on using the changeset viewer.