- Timestamp:
- Jan 10, 2007, 1:30:09 PM (18 years ago)
- Location:
- branches/camera/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/cameraman.cc
r10204 r10205 51 51 void cameraman::changeTarget(int camNo, PNode* target) 52 52 { 53 cameras[camNo]-> setTargetNode(target);53 cameras[camNo]->target->atach(target); 54 54 } 55 55 … … 57 57 void cameraman::changeCurrTarget(PNode* target) 58 58 { 59 currentCam-> setTargetNode(target);59 currentCam->target->atach(target); 60 60 } 61 61 -
branches/camera/src/world_entities/cameraman.h
r10204 r10205 11 11 int camNo; 12 12 int camAmount; 13 13 Camera* cameras[6]; 14 14 15 15 … … 18 18 void setCam(int CameraNo); 19 19 void createCam(); 20 Camera* cameras[6];21 20 void moveCam(int x, int y, int z, int camNo); 22 21 void moveCurrCam(int x, int y, int z);
Note: See TracChangeset
for help on using the changeset viewer.