Changeset 5003 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Aug 13, 2005, 10:19:55 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r5001 r5003 541 541 if (unlikely(this->toDirection != NULL)) 542 542 { 543 Quaternion rotQuat = (*this->toDirection / this->relDirection) *dt;543 Quaternion rotQuat = (*this->toDirection / this->relDirection); 544 544 // printf("1: "); 545 545 // this->relDirection.debug(); 546 546 // printf("2: "); 547 547 // this->toDirection->debug(); 548 //printf("3: ");549 //rotQuat.debug2();548 printf("3: "); 549 rotQuat.debug2(); 550 550 551 551 if (likely(rotQuat.getSpacialAxisAngle() >= .01)) -
orxonox/trunk/src/world_entities/player.cc
r5002 r5003 121 121 void Player::init() 122 122 { 123 this->setAbsDir(Quaternion(.5, Vector(1,0,0))); 124 123 125 this->setClassID(CL_PLAYER, "Player"); 124 126 travelSpeed = 15.0;
Note: See TracChangeset
for help on using the changeset viewer.