Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2007, 3:36:20 PM (18 years ago)
Author:
bensch
Message:

removed track manager and reinjected the Track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/camera.cc

    r10581 r10588  
    102102
    103103  //add to track
    104 /*  if(this->entityTrack)
     104  if(this->entityTrack)
    105105   {
    106106    this->setParent(this->entityTrack->getTrackNode());
    107107    //this->setRelCoor(0,0,0);
    108    }*/
     108   }
    109109}
    110110
     
    227227  {
    228228    //PRINTF(0)("tickytackytucky\n");
    229 /*    this->entityTrack->tick(dt);*/
     229    this->entityTrack->tick(dt);
    230230    //this->setAbsCoor(this->entityTrack->getTrackNode()->getAbsCoor());
    231231  }
     
    240240void Camera::draw() const
    241241{
    242 /*  if( this->entityTrack != NULL && this->isDrawTrack())
    243     this->entityTrack->drawGraph();*/
     242  if( this->entityTrack != NULL && this->isDrawTrack())
     243    this->entityTrack->drawGraph();
    244244}
    245245
Note: See TracChangeset for help on using the changeset viewer.