Changeset 10251 in orxonox.OLD for branches/playability/src
- Timestamp:
- Jan 17, 2007, 1:29:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/camera.cc
r10237 r10251 38 38 39 39 this->setFovy(90); 40 this->setAspectRatio(1. 2f);40 this->setAspectRatio(1.33f); 41 41 this->setClipRegion(.1, 10000); 42 42 … … 134 134 case Camera::ViewTop: 135 135 { 136 this->toFovy= 120;137 this->setRelCoor(Vector(-0.05, 40, 0));136 this->toFovy= 30; 137 this->setRelCoor(Vector(-0.05, 200 , 0)); 138 138 this->target->setRelCoor(0,0,0); 139 139 } … … 156 156 157 157 float tmpFovy = (this->toFovy - this->fovy); 158 if ( tmpFovy> 0.01)158 if (fabsf(tmpFovy) > 0.01) 159 159 this->fovy += tmpFovy * fabsf(dt); 160 160 }
Note: See TracChangeset
for help on using the changeset viewer.