Changeset 10404 in orxonox.OLD for trunk/src/world_entities/cameraman.cc
- Timestamp:
- Jan 27, 2007, 2:20:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10403 r10404 22 22 #include "script_class.h" 23 23 #include "loading/load_param_xml.h" 24 #include "blackscreen.h" 25 #include "p_node.h" 26 #include "camera.h" 24 27 25 28 ObjectListDefinition(CameraMan); 29 30 SHELL_COMMAND(camerainfo, CameraMan, cameraInfo); 26 31 27 32 … … 207 212 208 213 214 void CameraMan::cameraInfo() 215 { 216 bool sameCam = (this->currentCam == State::getCamera()); 217 218 219 PRINT(0)("==== CameraMan::cameraInfo ===\n"); 220 PRINT(0)("= Camera Name: %s\n", this->currentCam->getName().c_str()); 221 PRINT(0)("= Tests:\n"); 222 PRINT(0)("== State::Cam == this::Cam %i\n", sameCam); 223 PRINT(0)("== Parenting Informations:\n"); 224 this->currentCam->debugNode(10); 225 PRINT(0)("==============================\n"); 226 } 227 228 229 float CameraMan::getCurrCameraCoorX() 230 { return this->currentCam->getAbsCoorX(); } 231 232 float CameraMan::getCurrCameraCoorY() 233 { return this->currentCam->getAbsCoorY(); } 234 235 float CameraMan::getCurrCameraCoorZ() 236 { return this->currentCam->getAbsCoorZ(); } 237 238 239 209 240 //how to get a class fkt pointer 210 241
Note: See TracChangeset
for help on using the changeset viewer.