From 56d0787bf26c64f83a2616a5eff0b15f2e3066e0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 Dec 2022 14:07:02 +0000 Subject: Fix case of GetViewProjection --- gfx/gl/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/camera.cpp') 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); } -- cgit v1.2.3