Changeset 4360 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 28, 2005, 12:42:17 PM (20 years ago)
- Location:
- orxonox/trunk/src/subprojects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/framework.cc
r4359 r4360 60 60 61 61 camera->apply(); 62 printf("distance: %f\n", (camera->getTarget()->getAbsCoor()-camera->getAbsCoor()).len());63 62 64 63 SDL_GL_SwapBuffers(); // Swap the buffers … … 178 177 camera->setRelCoor(camera->getRelCoor() - (camera->getTarget()->getAbsCoor() - camera->getAbsCoor())*.1); 179 178 break; 179 case SDLK_r: 180 camera->setAbsCoor(Vector(10, 10, 10)); 181 camera->getTarget()->setAbsCoor(Vector()); 182 break; 180 183 case SDLK_h: 181 184 this->printHelp(); … … 247 250 State::getInstance()->setCamera(camera, camera->getTarget()); 248 251 249 camera->setAbsCoor(Vector(10, 10, 0));252 camera->setAbsCoor(Vector(10, 10, 10)); 250 253 } 251 254 … … 265 268 PRINT(0)("a - zoom in\n"); 266 269 PRINT(0)("z - zoom out\n"); 267 270 PRINT(0)("r - reset camera position\n"); 271 272 PRINT(0)("\n"); 273 PRINT(0)("mouse wheel - zoom\n"); 274 PRINT(0)("mouse left button - rotate the camera around its target\n"); 275 PRINT(0)("mouse right button - rotate the camera's target around the camera\n"); 276 PRINT(0)("mouse left-and-right button - move the camera and the target\n"); 277 268 278 this->moduleHelp(); 269 279 -
orxonox/trunk/src/subprojects/importer/importer.cc
r4349 r4360 78 78 void Framework::moduleHelp(void) const 79 79 { 80 PRINT(0)("\n"); 81 PRINT(0)("i "); 82 PRINT(0)("\n"); 83 80 84 81 }
Note: See TracChangeset
for help on using the changeset viewer.