Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7052 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Feb 6, 2006, 2:21:46 PM (19 years ago)
Author:
bensch
Message:

less debug

Location:
trunk/src/lib/graphics/render2D
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.cc

    r7031 r7052  
    8888Element2D::~Element2D ()
    8989{
    90   this->debug();
    9190  // remove the Element2D, delete it's children (if required).
    9291  std::list<Element2D*>::iterator tmp = this->children.begin();
     
    938937 * @param level The n-th level of the Node we draw (this is internal and only for nice output)
    939938 */
    940 void Element2D::debug (unsigned int depth, unsigned int level) const
     939void Element2D::debug2D (unsigned int depth, unsigned int level) const
    941940{
    942941  for (unsigned int i = 0; i < level; i++)
     
    963962    {
    964963      if (depth == 0)
    965         (*child)->debug(0, level + 1);
     964        (*child)->debug2D(0, level + 1);
    966965      else
    967         (*child)->debug(depth - 1, level +1);
     966        (*child)->debug2D(depth - 1, level +1);
    968967    }
    969968  }
  • trunk/src/lib/graphics/render2D/element_2d.h

    r7031 r7052  
    208208    void update2D (float dt);
    209209
    210     void debug (unsigned int depth = 1, unsigned int level = 0) const;
     210    void debug2D (unsigned int depth = 1, unsigned int level = 0) const;
    211211    void debugDraw2D(unsigned int depth = 1, float size = 1.0, Vector color = Vector(1,0,0), unsigned int level = 0) const;
    212212
Note: See TracChangeset for help on using the changeset viewer.