Changeset 9869 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r9406 r9869 19 19 #include "glincl.h" 20 20 21 ObjectListDefinition(Camera); 22 21 23 /** 22 24 * creates a Camera … … 24 26 Camera::Camera() 25 27 { 26 this-> setClassID(CL_CAMERA, "Camera");28 this->registerObject(this, Camera::_objectList); 27 29 this->setName("camera"); 28 30 this->target = new CameraTarget(); … … 221 223 /////////////////// 222 224 223 225 ObjectListDefinition(CameraTarget); 224 226 CameraTarget::CameraTarget() 225 227 { 226 this-> setClassID(CL_CAMERA_TARGET, "CameraTarget");228 this->registerObject(this, CameraTarget::_objectList); 227 229 // this->setParentMode(PNODE_MOVEMENT); 228 230 }
Note: See TracChangeset
for help on using the changeset viewer.