From e66f7011fb23e3509ad95accec581f6269813266 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 26 Oct 2022 04:05:47 +0200 Subject: Fixed attribute double free --- src/Math/MVP.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Math/MVP.hpp') diff --git a/src/Math/MVP.hpp b/src/Math/MVP.hpp index c3fb64f..0abad66 100644 --- a/src/Math/MVP.hpp +++ b/src/Math/MVP.hpp @@ -6,6 +6,7 @@ namespace Math::MVP { Matrix<4, 4> model(Vector<3> position, Rotation angles); Matrix<4, 4> view(Vector<3> position, Rotation angles); -Matrix<4, 4> projection(float aspect, float fov, float near, float far); +Matrix<4, 4> perspective_projection(float aspect, float fov, float near, float far); +Matrix<4, 4> orthographic_projection(float width, float height, float near, float far); } -- cgit 1.4.1