From c20c5167510758353d5a62cfff24fd5494b9c5a4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 13 Dec 2022 12:14:43 +0000 Subject: Add Camera method to get the extents of the view frustrum at some distance --- gfx/gl/camera.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gfx/gl/camera.h') diff --git a/gfx/gl/camera.h b/gfx/gl/camera.h index 2d937a0..1ded3e0 100644 --- a/gfx/gl/camera.h +++ b/gfx/gl/camera.h @@ -61,6 +61,8 @@ public: return position; } + std::array extentsAtDist(float) const; + static glm::vec3 upFromForward(const glm::vec3 & forward); private: -- cgit v1.2.3