Changeset 7013 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- Feb 3, 2006, 12:59:42 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r7009 r7013 146 146 { 147 147 //update frustum plane 148 this->viewVector = this->getAbsCoor() - this->target->getAbsCoor();149 this->frustumPlane = Plane(this->viewVector, this->getAbsCoor() + Vector(-70.0,0.0,0.0));148 this->viewVector = (this->getAbsCoor() - this->target->getAbsCoor()).getNormalized(); 149 this->frustumPlane = Plane(this->viewVector, this->getAbsCoor() + this->viewVector * 3.0); 150 150 151 151 this->upVector = this->getAbsDirV();
Note: See TracChangeset
for help on using the changeset viewer.