Changeset 10460 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- Jan 28, 2007, 9:26:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r10458 r10460 24 24 #include "track/track.h" 25 25 #include "script_class.h" 26 #include "state.h" 26 27 27 28 … … 100 101 //add to track 101 102 if(this->entityTrack) 102 {103 103 this->setParent(this->entityTrack->getTrackNode()); 104 this->setRelCoor(0,0,0);105 }106 104 } 107 105 … … 112 110 void Camera::lookAt(PNode* target) 113 111 { 112 State::setCamera(this, dynamic_cast<CameraTarget*>(target)); 114 113 this->target->setParentSoft(target,0.2); 115 114 }
Note: See TracChangeset
for help on using the changeset viewer.