Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 28, 2007, 9:26:08 PM (19 years ago)
Author:
patrick
Message:

some texture attributes, camera target fix

File:
1 edited

Legend:

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

    r10458 r10460  
    2424#include "track/track.h"
    2525#include "script_class.h"
     26#include "state.h"
    2627
    2728
     
    100101  //add to track
    101102  if(this->entityTrack)
    102   {
    103103    this->setParent(this->entityTrack->getTrackNode());
    104     this->setRelCoor(0,0,0);
    105   }
    106104}
    107105
     
    112110void Camera::lookAt(PNode* target)
    113111{
     112  State::setCamera(this, dynamic_cast<CameraTarget*>(target));
    114113  this->target->setParentSoft(target,0.2);
    115114}
Note: See TracChangeset for help on using the changeset viewer.