Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3372 in orxonox.OLD


Ignore:
Timestamp:
Jan 7, 2005, 3:42:34 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: now the Direction also follows the lead.

Location:
orxonox/branches/trackManager/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/trackManager/src/environment.cc

    r3369 r3372  
    5555  glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    5656  //rotate
    57   this->getAbsDir ().matrix (matrix);
     57  this->getAbsDir().matrix (matrix);
    5858  glMultMatrixf((float*)matrix);
    5959 
    60   glMatrixMode(GL_MODELVIEW);
    6160  this->model->draw();
    6261}
  • orxonox/branches/trackManager/src/p_node.cc

    r3371 r3372  
    214214*/
    215215Quaternion PNode::getAbsDir ()
    216 {}
     216{
     217  return this->absDirection;
     218}
    217219
    218220
  • orxonox/branches/trackManager/src/track_manager.cc

    r3371 r3372  
    445445  if (this->localTime <= this->firstTrackElem->duration)
    446446    this->jumpTo(this->localTime);
    447   printf("LocalTime is: %f, timestep is: %f\n", this->localTime, dt);
    448447  this->localTime += dt;
    449448  if (this->localTime > this->currentTrackElem->startingTime + this->currentTrackElem->duration && this->currentTrackElem->childCount > 0)
Note: See TracChangeset for help on using the changeset viewer.