diff --git a/openVulkanoCpp/Scene/Camera.hpp b/openVulkanoCpp/Scene/Camera.hpp index fa127f8..08dfac3 100644 --- a/openVulkanoCpp/Scene/Camera.hpp +++ b/openVulkanoCpp/Scene/Camera.hpp @@ -148,6 +148,10 @@ namespace OpenVulkano::Scene [[nodiscard]] virtual bool IsPerspective() const { return false; } [[nodiscard]] virtual bool IsOrtho() const { return false; } + + float GetWidth() const { return m_width; } + float GetHeight() const { return m_height; } + Math::Vector2f GetSize() const { return { m_width, m_height }; } }; class PerspectiveCamera : public Camera