Vivid
|
A class that represents the camera. More...
#include <Camera.h>
Public Member Functions | |
virtual glm::mat4 | GetViewMatrix ()=0 |
virtual glm::mat4 | GetProjectionMatrix ()=0 |
virtual void | SetPerspective (const glm::mat4 &perspective)=0 |
virtual void | SetViewMatrix (const glm::mat4 &view)=0 |
virtual void | SetViewportSize (int width, int height)=0 |
int | GetViewportWidth () |
int | GetViewportHeight () |
Protected Attributes | |
int | m_ViewportWidth = 1920 |
int | m_ViewportHeight = 1080 |
A class that represents the camera.
It contains functions to get the view matrix, get the projection matrix, set the perspective, set the view matrix, set the viewport size, get the viewport width, and get the viewport height. This is an abstract class.