Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10410 in orxonox.OLD for trunk/src/world_entities/camera.cc


Ignore:
Timestamp:
Jan 27, 2007, 7:30:45 PM (17 years ago)
Author:
patrick
Message:

the track now is been drawn for the camera

File:
1 edited

Legend:

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

    r10403 r10410  
    6666void Camera::init()
    6767{
     68  this->toList( OM_COMMON);
    6869  //this->setName("camera");
    6970  this->target = new CameraTarget();
     
    225226  //iterate(float dt, translate, target)
    226227  target->translate(dt);
     228}
     229
     230
     231void Camera::draw() const
     232{
     233  if( this->entityTrack != NULL)
     234    this->entityTrack->drawGraph();
    227235}
    228236
Note: See TracChangeset for help on using the changeset viewer.