Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5417 in orxonox.OLD for trunk/src/lib/graphics/render2D/render_2d.h


Ignore:
Timestamp:
Oct 21, 2005, 11:09:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: visibility of Element2D-debug-draw through
ShellCommand:: Render2D toggleNodeVisibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/render_2d.h

    r5406 r5417  
    2222    inline static Render2D* getInstance() { if (!singletonRef) singletonRef = new Render2D();  return singletonRef; };
    2323
     24    void toggleNodesVisibility() { this->showNodes = !this->showNodes; };
     25
    2426    void update(float dt);
    2527    void tick(float dt);
     
    3032    static Render2D*              singletonRef;                    //!< Reference to this class.
    3133
     34    bool                          showNodes;                       //!< If the debug-Nodes should be visible
    3235 };
    3336
Note: See TracChangeset for help on using the changeset viewer.