Changeset 1911 for code/trunk/src/orxonox
- Timestamp:
- Oct 13, 2008, 12:29:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Camera.cc
r1784 r1911 85 85 this->cameraNode_->translate(coeff * offset); 86 86 87 this->cameraNode_->setOrientation(Quaternion::Slerp( 7.0f * dt, this->positionNode_->getWorldOrientation(), this->cameraNode_->getWorldOrientation(), false));87 this->cameraNode_->setOrientation(Quaternion::Slerp(1-coeff, this->positionNode_->getWorldOrientation(), this->cameraNode_->getWorldOrientation(), false)); 88 88 } 89 89 }
Note: See TracChangeset
for help on using the changeset viewer.