Changeset 5005 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Aug 14, 2005, 1:26:49 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r5003 r5005 541 541 if (unlikely(this->toDirection != NULL)) 542 542 { 543 Quaternion rotQuat = (*this->toDirection / this->relDirection);543 Quaternion rotQuat = Quaternion::quatSlerp(Quaternion(0, Vector(0,1,0)), (*this->toDirection / this->relDirection), dt*this->bias); 544 544 // printf("1: "); 545 545 // this->relDirection.debug(); -
orxonox/trunk/src/lib/math/vector.cc
r5004 r5005 76 76 and right should be -x or +x respectively or the mesh wont rotate correctly. 77 77 * 78 * @TODO !!! OPTIMIZE THIS!!!78 * @TODO !!! OPTIMIZE THIS !!! 79 79 */ 80 80 Quaternion::Quaternion (const Vector& dir, const Vector& up)
Note: See TracChangeset
for help on using the changeset viewer.