Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5012 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Aug 14, 2005, 4:18:25 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now the PNodes get aligned real smoothely on the Screen, no more hicking :)-

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/p_node.cc

    r5011 r5012  
    704704
    705705  glPopMatrix();
     706  glEnable(GL_LIGHTING);
    706707  if (depth >= 2 || depth == 0)
    707708  {
     
    720721    delete iterator;
    721722  }
    722   glEnable(GL_LIGHTING);
    723723}
    724724
  • orxonox/trunk/src/world_entities/camera.cc

    r5010 r5012  
    192192void Camera::apply ()
    193193{
    194   this->target->getParent()->debugDraw(0, 2, Vector(1,0,0));
    195194  // switching to Projection Matrix
    196195  glMatrixMode (GL_PROJECTION);
     
    215214  // switching back to Modeling Matrix
    216215  glMatrixMode (GL_MODELVIEW);
     216  this->target->getParent()->debugDraw(0, 2, Vector(1,0,0));
    217217}
    218218
Note: See TracChangeset for help on using the changeset viewer.