- Timestamp:
- Dec 22, 2008, 10:23:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/Camera.cc
r2500 r2527 109 109 float coeff = min(1.0f, 15.0f * dt); 110 110 111 Vector3 offset = this->get Node()->getWorldPosition() - this->cameraNode_->getWorldPosition();111 Vector3 offset = this->getWorldPosition() - this->cameraNode_->getWorldPosition(); 112 112 this->cameraNode_->translate(coeff * offset); 113 113
Note: See TracChangeset
for help on using the changeset viewer.