Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8603 in orxonox.OLD for branches/gui/src/lib/math


Ignore:
Timestamp:
Jun 20, 2006, 9:10:19 AM (18 years ago)
Author:
bensch
Message:

debug function

Location:
branches/gui/src/lib/math
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/math/rect2D.cc

    r8448 r8603  
    475475}
    476476
     477/**
     478 * @brief print debug output for the Rect
     479 */
     480void Rect2D::debug() const
     481{
     482  PRINT(0)("Top: %0.2f Left: %0.2f; Bottom %0.2f Right:%0.2f; Size: %0.2fx%0.2f\n", top(), left(), bottom(), right(), size().x, size().y);
     483}
  • branches/gui/src/lib/math/rect2D.h

    r8448 r8603  
    127127  const Rect2D& slerp(const Rect2D& rect, float value);
    128128
     129  void debug() const;
     130
    129131private:
    130132  Vector2D _topLeft;
Note: See TracChangeset for help on using the changeset viewer.