Changeset 7092 in orxonox.OLD for trunk/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Feb 7, 2006, 5:27:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r7087 r7092 248 248 { 249 249 Playable::loadParams(root); 250 251 LoadParam(root, "abs-dir", this, SpaceShip, setRelDir); 252 } 253 254 void SpaceShip::setRelDir(float angle, float axisX, float axisY, float axisZ) 255 { 256 this->mouseDir = Quaternion(angle, Vector(axisX, axisY, axisZ)); 250 } 251 252 void SpaceShip::setAbsDirPlay(const Quaternion& quat) 253 { 254 this->mouseDir = Quaternion(quat); 257 255 } 258 256
Note: See TracChangeset
for help on using the changeset viewer.