Changeset 4997 in orxonox.OLD for orxonox/trunk/src/lib/coord
- Timestamp:
- Aug 13, 2005, 3:10:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r4996 r4997 339 339 { 340 340 if (this->parent) 341 this->relDirection = absDir * parent->getAbsDir().inverse();341 this->relDirection = absDir / parent->getAbsDir(); 342 342 else 343 343 this->relDirection = absDir; … … 489 489 this->setRelCoor(tmpV - parentNode->getAbsCoor()); 490 490 491 this->setRelDir(tmpQ * parentNode->getAbsDir().inverse());491 this->setRelDir(tmpQ / parentNode->getAbsDir()); 492 492 } 493 493 … … 543 543 if (unlikely(this->toDirection != NULL)) 544 544 { 545 Quaternion rotQuat = (*this->toDirection * this->getRelDir().inverse()) *dt*bias; 545 Quaternion rotQuat = (*this->toDirection / this->getRelDir()) *dt*bias; 546 rotQuat.debug(); 546 547 // if (likely(rotQuat.len() >= .001)) 547 548 {
Note: See TracChangeset
for help on using the changeset viewer.