Changeset 10390 in orxonox.OLD for trunk/src/world_entities/cameraman.h
- Timestamp:
- Jan 26, 2007, 6:59:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.h
r10388 r10390 19 19 public: 20 20 std::vector<Camera*> cameras; 21 CameraMan( );21 CameraMan(const TiXmlElement* root = NULL); 22 22 void setCam(int CameraNo); 23 void createCam( );23 void createCam(const TiXmlElement* root); 24 24 void moveCam(int x, int y, int z, int camNo); 25 25 void moveCurrCam(int x, int y, int z); … … 32 32 void setClipRegion(float nearClip, float farClip); 33 33 void togglFade(); 34 35 /// LOADING 36 virtual void loadParams(const TiXmlElement* root); 37 38 /// Polling (to be used in scripts) 39 float getCurrCameraCoorX(){ return this->currentCam->getAbsCoorX(); } 40 float getCurrCameraCoorY(){ return this->currentCam->getAbsCoorY(); } 41 float getCurrCameraCoorZ(){ return this->currentCam->getAbsCoorZ(); } 34 42 35 43 };
Note: See TracChangeset
for help on using the changeset viewer.