vtFlyer Class Reference
[Navigation]

Inheritance diagram for vtFlyer:

Inheritance graph
[legend]
List of all members.

Detailed Description

This engine flies the viewpoint around using the mouse position.

Mouse position is considered relative to the center of the window.


Public Member Functions

void SetSpeed (float fSpeed)
float GetSpeed ()
void Eval ()
float GetCurrentSpeed ()
 Current speed (meters/second as of the most recent frame).


Member Function Documentation

void vtFlyer::Eval  )  [virtual]
 

Virtual handler, will be called every frame to do the work of the engine. You must override this if you want your engine to be useful.

Reimplemented from vtEngine.

Reimplemented in vtOrthoFlyer, vtTerrainFlyer, vtPanoFlyer, VFlyer, and QuakeFlyer.

float vtFlyer::GetSpeed  )  [inline]
 

Get the speed of navigation. This is the speed at which the target will more at maximum mouse displacement.

void vtFlyer::SetSpeed float  fSpeed  )  [inline]
 

Set the speed of navigation, in meters per second, at maximum mouse displacement.


Generated on Tue Apr 22 10:11:07 2008 for vtlib library by  doxygen 1.4.5