summaryrefslogtreecommitdiff
path: root/gfx/gl/camera.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 14:07:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 14:07:02 +0000
commit56d0787bf26c64f83a2616a5eff0b15f2e3066e0 (patch)
tree94d3255948ad374dc864aa2abe1defa3aaefa8b4 /gfx/gl/camera.cpp
parentSupport saving a normals texture (diff)
downloadilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.tar.bz2
ilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.tar.xz
ilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.zip
Fix case of GetViewProjection
Diffstat (limited to 'gfx/gl/camera.cpp')
-rw-r--r--gfx/gl/camera.cpp2
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);
}