Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2007, 12:13:13 AM (18 years ago)
Author:
bknecht
Message:

Implemented zooming function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hud/src/world_entities/tools/camera.cc

    r10647 r10654  
    211211      this->setRelCoorSoft(this->viewFrontDistance, 0, 0, 5);
    212212      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);
    213221    }
    214222  }
Note: See TracChangeset for help on using the changeset viewer.