Changeset 10410 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 27, 2007, 7:30:45 PM (18 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r10403 r10410 66 66 void Camera::init() 67 67 { 68 this->toList( OM_COMMON); 68 69 //this->setName("camera"); 69 70 this->target = new CameraTarget(); … … 225 226 //iterate(float dt, translate, target) 226 227 target->translate(dt); 228 } 229 230 231 void Camera::draw() const 232 { 233 if( this->entityTrack != NULL) 234 this->entityTrack->drawGraph(); 227 235 } 228 236 -
trunk/src/world_entities/camera.h
r10386 r10410 75 75 Vector* VectorProd(Vector* v1, Vector* v2); 76 76 void Rotate(); 77 void draw() const; 77 78 void tick(float dt); 78 79 void apply ();
Note: See TracChangeset
for help on using the changeset viewer.