- Timestamp:
- Dec 21, 2005, 4:48:53 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r6142 r6253 745 745 /* update the current absDirection - remember * means rotation around sth.*/ 746 746 this->prevRelCoordinate = this->relCoordinate; 747 this->absDirection = this->relDirection * parent->getAbsDir();;747 this->absDirection = parent->getAbsDir() * this->relDirection; 748 748 } 749 749 -
trunk/src/world_entities/creatures/md2_creature.cc
r6222 r6253 303 303 //orient the MD2Creature in direction of the mouse 304 304 this->setAbsDir(mouseDirX); 305 this->cameraConnNode.set AbsDirSoft(mouseDirX*mouseDirY, 10);305 this->cameraConnNode.setRelDir(mouseDirY); 306 306 307 307 this->getWeaponManager()->tick(time);
Note: See TracChangeset
for help on using the changeset viewer.