|
vtlib library
|

Public Member Functions | |
| void | SetSpeed (float fSpeed) |
| float | GetSpeed () |
| void | Eval () |
| float | GetCurrentSpeed () |
| Current speed (meters/second as of the most recent frame) | |
This engine flies the viewpoint around using the mouse position.
Mouse position is considered relative to the center of the window.
| 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.
1.7.4