Changeset 7056 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Feb 6, 2006, 3:05:44 PM (19 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r7001 r7056 46 46 #include "state.h" 47 47 #include "player.h" 48 49 #include "load_param.h" 48 50 49 51 … … 246 248 { 247 249 Playable::loadParams(root); 248 } 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)); 257 } 258 249 259 250 260 -
trunk/src/world_entities/space_ships/space_ship.h
r7001 r7056 26 26 27 27 virtual void loadParams(const TiXmlElement* root); 28 29 void setRelDir(float angle, float axisX, float axisY, float axisZ); 28 30 29 31 virtual void enter();
Note: See TracChangeset
for help on using the changeset viewer.