Changeset 5354 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Oct 10, 2005, 1:13:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r5037 r5354 178 178 void Camera::tick(float dt) 179 179 { 180 float tmpFovy = (this->toFovy - this->fovy) * dt;181 if (tmpFovy > .0 01)182 this->fovy += (this->toFovy - this->fovy) * dt;180 float tmpFovy = (this->toFovy - this->fovy) ; 181 if (tmpFovy > .01) 182 this->fovy += tmpFovy * fabsf(dt); 183 183 } 184 184
Note: See TracChangeset
for help on using the changeset viewer.