From 6bff7aeb8e613b30323bc973f0506531e148ade3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 13 Dec 2022 12:07:40 +0000 Subject: Maintain a camera's inverse view projection matrix --- gfx/gl/camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/camera.h') diff --git a/gfx/gl/camera.h b/gfx/gl/camera.h index bcc7469..3182969 100644 --- a/gfx/gl/camera.h +++ b/gfx/gl/camera.h @@ -61,5 +61,5 @@ private: float fov, aspect, near, far; glm::mat4 projection; glm::mat4 view, unView; - glm::mat4 viewProjection; + glm::mat4 viewProjection, inverseViewProjection; }; -- cgit v1.2.3