From 3744a6cdec271a301a37d5e629d2c54ff8c07967 Mon Sep 17 00:00:00 2001 From: Orange Date: Tue, 9 Dec 2025 09:31:22 +0300 Subject: [PATCH] returned stuff back --- include/omath/projection/camera.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/omath/projection/camera.hpp b/include/omath/projection/camera.hpp index 8b3a2c6..b36736e 100644 --- a/include/omath/projection/camera.hpp +++ b/include/omath/projection/camera.hpp @@ -84,7 +84,8 @@ namespace omath::projection [[nodiscard]] Mat4X4Type calc_view_projection_matrix() const noexcept { return TraitClass::calc_projection_matrix(m_field_of_view, m_view_port, m_near_plane_distance, - m_far_plane_distance); + m_far_plane_distance) + * TraitClass::calc_view_matrix(m_view_angles, m_origin); } public: