Changeset 10195 in orxonox.OLD for branches/camera/src/world_entities/cameraman.cc
- Timestamp:
- Jan 8, 2007, 9:37:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/cameraman.cc
r10193 r10195 2 2 #include "cameraman.h" 3 3 #include "camera.h" 4 #include "state.h" 4 5 5 6 … … 17 18 void cameraman::createCam() 18 19 { 19 if (camAmo nt<6)20 if (camAmount<6) 20 21 { 21 P node* newCamera=new Camera();22 PNode* newCamera=new Camera(); 22 23 cameras[camAmount]=newCamera; 23 24 } 24 25 } 25 26 26 27 void cameraman::setCam(int cameraNo) … … 28 29 if (cameraNo<camAmount) 29 30 currentCam=cameras[cameraNo]; 31 30 32 } 31 33 34
Note: See TracChangeset
for help on using the changeset viewer.