Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7844 in orxonox.OLD for trunk/src/lib/graphics/render2D


Ignore:
Timestamp:
May 24, 2006, 11:34:22 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Ok the Element2D-renderer works, and hides Elements, that are behind the Camera

File:
1 edited

Legend:

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

    r7843 r7844  
    883883      {
    884884        this->bCurrentlyVisible = true;
    885         printf("OK \n");
    886885      }
    887886
     
    10341033void Element2D::draw2D(E2D_LAYER from, E2D_LAYER to) const
    10351034{
    1036   if (this->bVisible && this->bCurrentlyVisible)
     1035  if (this->isVisible())
    10371036    this->draw();
    10381037  if (this->children.size() > 0)
Note: See TracChangeset for help on using the changeset viewer.