From 4a168a95d16541b9a8338b074509bab406997a56 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 2 Mar 2025 11:34:50 +0000 Subject: Cache the camera's view 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 8d53261..5c37744 100644 --- a/gfx/gl/camera.h +++ b/gfx/gl/camera.h @@ -82,6 +82,6 @@ private: Direction3D up; GlobalDistance near, far; - glm::mat4 projection; + glm::mat4 view, projection; glm::mat4 viewProjection, inverseViewProjection; }; -- cgit v1.2.3