Changeset 10698 in orxonox.OLD for trunk/src/world_entities/tools/camera.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/tools/camera.cc
r10618 r10698 203 203 this->setRelCoor(Vector(-0.05, this->viewTopDistance , 0)); 204 204 this->target->setRelCoor(0,0,0); 205 break; 206 } 207 case Camera::ViewFPS: 208 { 209 this->fovy = viewNormalFovy; 210 this->toFovy = viewNormalFovy; 211 this->setRelCoorSoft(this->viewFrontDistance, 0, 0, 5); 212 this->target->setRelCoorSoft(Vector(10,0,0), 5); 213 break; 214 } 215 case Camera::ViewFPSZoom: 216 { 217 this->fovy = viewNormalFovy; 218 this->toFovy = 30; 219 this->setRelCoorSoft(2, 0, 0, 5); 220 this->target->setRelCoorSoft(Vector(10,0,0), 5); 205 221 } 206 222 }
Note: See TracChangeset
for help on using the changeset viewer.