Changeset 5981 in orxonox.OLD for branches/spaceshipcontrol
- Timestamp:
- Dec 8, 2005, 12:22:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r5966 r5981 11 11 ### File Specific: 12 12 main-programmer: Benjamin Knecht 13 co-programmer: ...13 co-programmer: Silvan Nellen 14 14 15 15 */ … … 277 277 this->shiftCoor(Vector(0,1,0)*cos(this->cycle*2.0)*0.02); 278 278 279 if (this->getAbsDirZ().y > 0.1) this->shiftDir(Quaternion(time*0.3, Vector(1,0,0))); 280 else if (this->getAbsDirZ().y < -0.1) this->shiftDir(Quaternion(-time*0.3, Vector(1,0,0))); 281 279 282 //SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 280 283
Note: See TracChangeset
for help on using the changeset viewer.