diff options
Diffstat (limited to 'gfx/gl/camera.cpp')
-rw-r--r-- | gfx/gl/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/camera.cpp b/gfx/gl/camera.cpp index c751ba8..7438739 100644 --- a/gfx/gl/camera.cpp +++ b/gfx/gl/camera.cpp @@ -9,7 +9,7 @@ Camera::Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar) } glm::mat4 -Camera::GetViewProjection() const +Camera::getViewProjection() const { return projection * glm::lookAt(pos, pos + forward, up); } |