![]() |
PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
|
Camera interface. More...
#include <ICamera.hpp>
Public Types | |
enum | Projection { PERSPECTIVE , ORTHOGRAPHIC } |
enum | Mode { CUSTOM = 0 , FREE , ORBITAL , FIRST_PERSON , THIRD_PERSON } |
Public Member Functions | |
virtual | ~ICamera ()=default |
Destroy the ICamera object. | |
virtual float | getFov () const =0 |
Get the FOV. | |
virtual void | setFov (float fov)=0 |
Set the FOV. | |
virtual Mode | getMode () const =0 |
Get the mode. | |
virtual void | setMode (Mode mode)=0 |
Set the mode. | |
virtual __v3f_t | getPosition () const =0 |
Get the position. | |
virtual void | setPosition (__v3f_t position)=0 |
Set the position. | |
virtual Projection | getProjection () const =0 |
Get the Projection. | |
virtual void | setProjection (Projection projection)=0 |
Set the Projection. | |
virtual __v3f_t | getTarget () const =0 |
Get the target. | |
virtual void | setTarget (__v3f_t size)=0 |
Set the target. | |
virtual __v3f_t | getUp () const =0 |
Get the up vector. | |
virtual void | setUp (__v3f_t up)=0 |
Set the up vector. | |
Camera interface.