- Timestamp:
- Dec 13, 2007, 3:56:28 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/CMakeLists.txt
r482 r512 16 16 main.cc 17 17 graphicsEngine.cc 18 InputManager.cc 18 19 ) 19 20 -
code/branches/FICN/src/orxonox/orxonox.cc
r511 r512 122 122 123 123 if(moved) { 124 if (mouseY< 0)124 if (mouseY<=0) 125 125 steering->rotateUp(-mouseY*rotate); 126 126 if (mouseY>0) … … 128 128 if (mouseX>0) 129 129 steering->rotateRight(mouseX*rotate); 130 if (mouseX< 0)130 if (mouseX<=0) 131 131 steering->rotateLeft(-mouseX*rotate); 132 133 132 mouseY = 0; 133 mouseX = 0; 134 134 moved = false; 135 135 } … … 361 361 { 362 362 SceneManager *mgr = ogre_->getSceneManager(); 363 363 364 364 Camera *cam = mgr->createCamera("Camera"); 365 365 cam->setPosition(Vector3(0,0,-250)); … … 372 372 node->attachObject(head); 373 373 node->attachObject(cam); 374 375 374 375 376 376 377 377 Entity* head1 = mgr->createEntity("head1", "ogrehead.mesh");
Note: See TracChangeset
for help on using the changeset viewer.