![]() |
PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
|
Public Member Functions | |
SdlCamera () | |
Construct a new Sdl Camera object. | |
~SdlCamera () | |
Destroy the Sdl Camera object. | |
float | getFov () const override |
Get the Fov object. | |
void | setFov (float fov) override |
Set the Fov object. | |
ICamera::Mode | getMode () const override |
Get the Mode object. | |
void | setMode (ICamera::Mode mode) override |
Set the Mode object. | |
__v3f_t | getPosition () const override |
Get the Position object. | |
void | setPosition (__v3f_t position) override |
Set the Position object. | |
ICamera::Projection | getProjection () const override |
Get the Projection object. | |
void | setProjection (ICamera::Projection projection) override |
Set the Projection object. | |
__v3f_t | getTarget () const override |
Get the Target object. | |
void | setTarget (__v3f_t target) override |
Set the Target object. | |
__v3f_t | getUp () const override |
Get the Up object. | |
void | setUp (__v3f_t up) override |
Set the Up object. | |
![]() | |
virtual | ~ICamera ()=default |
Destroy the ICamera object. | |
virtual void | setMode (Mode mode)=0 |
Set the mode. | |
virtual void | setProjection (Projection projection)=0 |
Set the Projection. | |
Friends | |
class | SdlWindow |
Additional Inherited Members | |
![]() | |
enum | Projection { PERSPECTIVE , ORTHOGRAPHIC } |
enum | Mode { CUSTOM = 0 , FREE , ORBITAL , FIRST_PERSON , THIRD_PERSON } |