![]() |
Raven Engine v0.1
|
#include <EditorCamera.h>
Public Member Functions | |
| EditorCamera ()=default | |
| EditorCamera (float fovDegrees, float aspectRatio, float nearClip, float farClip) | |
| void | OnUpdate (Timestep ts) |
| void | OnEvent (Event &e) |
| void | SetViewportSize (float width, float height) |
| Public Member Functions inherited from Raven::Camera | |
| Camera ()=default | |
| Camera (const Crux::mat4 &projection) | |
| Constructs a Camera with a given projection matrix. | |
| virtual | ~Camera ()=default |
| const Crux::mat4 & | GetProjection () const |
| const Crux::mat4 & | GetViewProjection () const |
| const Crux::mat4 & | GetView () const |
| const Crux::vec3 & | GetPosition () const noexcept |
Additional Inherited Members | |
| Protected Attributes inherited from Raven::Camera | |
| Crux::mat4 | m_Projection = Crux::mat4(1.0f) |
| Projection matrix (e.g., perspective or orthographic). | |
| Crux::mat4 | m_View = Crux::mat4(1.0f) |
| View matrix representing camera position/orientation. | |
| Crux::mat4 | m_ViewProjection = Crux::mat4(1.0f) |
| Cached combined view-projection matrix. | |
| Crux::vec3 | m_Position = Crux::vec3(0.0f) |
| World Space Position of the Camera. | |
|
default |
| Raven::EditorCamera::EditorCamera | ( | float | fovDegrees, |
| float | aspectRatio, | ||
| float | nearClip, | ||
| float | farClip ) |
| void Raven::EditorCamera::OnEvent | ( | Event & | e | ) |
| void Raven::EditorCamera::OnUpdate | ( | Timestep | ts | ) |
| void Raven::EditorCamera::SetViewportSize | ( | float | width, |
| float | height ) |