diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-11 14:07:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-11 14:07:02 +0000 |
commit | 56d0787bf26c64f83a2616a5eff0b15f2e3066e0 (patch) | |
tree | 94d3255948ad374dc864aa2abe1defa3aaefa8b4 /gfx/gl/camera.cpp | |
parent | Support saving a normals texture (diff) | |
download | ilt-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.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); } |