|
NoJobEngine 2.0.7
|
#include <EditorCamera.h>
Public Member Functions | |
| EditorCamera (float fovDegrees=45.0f, float aspectRatio=16.0f/9.0f, float nearClip=0.1f, float farClip=1000.0f) | |
| void | OnUpdate (GLFWwindow *window, float deltaTime, bool viewportHovered) |
| void | SetViewportSize (float width, float height) |
| const glm::mat4 & | GetViewMatrix () const |
| const glm::mat4 & | GetProjectionMatrix () const |
| glm::mat4 | GetViewProjection () const |
| const glm::vec3 & | GetPosition () const |
Definition at line 14 of file EditorCamera.h.
| NoJob::EditorCamera::EditorCamera | ( | float | fovDegrees = 45.0f, |
| float | aspectRatio = 16.0f / 9.0f, | ||
| float | nearClip = 0.1f, | ||
| float | farClip = 1000.0f ) |
Definition at line 11 of file EditorCamera.cpp.
|
inline |
Definition at line 37 of file EditorCamera.h.
Referenced by main().
|
inline |
Definition at line 31 of file EditorCamera.h.
Referenced by main().
|
inline |
Definition at line 30 of file EditorCamera.h.
Referenced by main().
|
inline |
Definition at line 32 of file EditorCamera.h.
| void NoJob::EditorCamera::OnUpdate | ( | GLFWwindow * | window, |
| float | deltaTime, | ||
| bool | viewportHovered ) |
Definition at line 25 of file EditorCamera.cpp.
Referenced by main().
| void NoJob::EditorCamera::SetViewportSize | ( | float | width, |
| float | height ) |
Definition at line 95 of file EditorCamera.cpp.
Referenced by main().