RenderEngine
Loading...
Searching...
No Matches
Controls Class Reference

#include <Controls.hpp>

Public Member Functions

 Controls ()
 
 Controls (Camera *cam)
 
void update ()
 Update controls.
 
void setSpeed (float sp)
 Set Speed.
 

Constructor & Destructor Documentation

◆ Controls() [1/2]

Controls::Controls ( )
inline

◆ Controls() [2/2]

Controls::Controls ( Camera cam)

Member Function Documentation

◆ setSpeed()

void Controls::setSpeed ( float  sp)
inline

Set Speed.

How fast should the mouse move be.

◆ update()

void Controls::update ( )

Update controls.

Update controls based on mouse and keyboard input.


The documentation for this class was generated from the following files: