Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5007 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Aug 14, 2005, 2:20:51 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better method to display PNodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/camera.cc

    r5005 r5007  
    144144       this->softReparent("Player");
    145145       this->target->softReparent("Player");
    146        this->setRelCoorSoft(4, 0, 0);
    147        this->target->setRelCoorSoft(10,0,0);
     146       this->setRelCoorSoft(4, 0, 0, 5);
     147       this->target->setRelCoorSoft(Vector(10,0,0), 5);
    148148//      this->target->setRelDirSoft(Quaternion(M_PI/4.0, Vector(0,1,0)));
    149149      break;
     
    192192void Camera::apply ()
    193193{
    194   this->target->debugDraw(2);
     194  this->target->getParent()->debugDraw(0, 2);
    195195  // switching to Projection Matrix
    196196  glMatrixMode (GL_PROJECTION);
Note: See TracChangeset for help on using the changeset viewer.