Functions

sp::tool::Toolset Namespace Reference

Functions

SP_EXPORT void moveCameraFree (scene::Camera *Cam, const f32 MoveSpeed, const f32 TurnSpeed, const f32 MaxTurnDegree, bool UseArrowKeys)
SP_EXPORT void presentModel (scene::Mesh *Model, bool UseZoome)

Detailed Description

Extended toolset class. Here you will find some useful functions when you are making just small applications or test programs.


Function Documentation

SP_EXPORT void sp::tool::Toolset::moveCameraFree ( scene::Camera *  Cam = 0,
f32  MoveSpeed = 0.25f,
f32  TurnSpeed = 0.25f,
f32  MaxTurnDegree = 90.0f,
bool  UseArrowKeys = true 
)

Moves a Camera object free. This function is normally used for debuging while the project is still in progress. Use the arrow keys for W/A/S/D like in first-person-shooters.

Parameters:
[in] Cam Camera object which is to be moved.
[in] MoveSpeed Specifies the speed for moving around. Multiply this with the global speed, to adjust the movement when the FPS goes up and down.
[in] TurnSpeed Specifies the speed for looking around.
[in] MaxTurnDegree Specifies the maximal degree for the rotation on X-Axis.
[in] UseArrowKeys Specifies whether the arrow keys can also be used for moving or not. Set this to false if the arrow keys are used for other operations.
See also:
io::Timer::getGlobalSpeed
SP_EXPORT void sp::tool::Toolset::presentModel ( scene::Mesh *  Model,
bool  UseZoome 
)

todo! -> touch-screen interactions

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines