summaryrefslogtreecommitdiff
path: root/gfx/gl/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/camera.h')
-rw-r--r--gfx/gl/camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/camera.h b/gfx/gl/camera.h
index 72f699d..1d3f5b3 100644
--- a/gfx/gl/camera.h
+++ b/gfx/gl/camera.h
@@ -8,6 +8,7 @@ public:
Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar);
[[nodiscard]] glm::mat4 GetViewProjection() const;
+ [[nodiscard]] glm::vec3 unProject(const glm::vec2 &) const;
glm::vec3 pos;
glm::vec3 forward;