From 22d03f00b989bf3b320f7973339fa9edcd18ba42 Mon Sep 17 00:00:00 2001 From: Orange Date: Sat, 5 Oct 2024 06:10:33 +0300 Subject: [PATCH] fix --- include/omath/Mat.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/omath/Mat.h b/include/omath/Mat.h index 2923f90..e2d73a5 100644 --- a/include/omath/Mat.h +++ b/include/omath/Mat.h @@ -270,8 +270,6 @@ namespace omath [[nodiscard]] constexpr static Mat<4, 4> OrientationMat(const Vector3& forward, const Vector3& right, const Vector3& up) { - Mat<4, 4> mat; - return { {right.x, up.x, forward.x, 0.f}, @@ -279,8 +277,6 @@ namespace omath {right.z, up.z, forward.z, 0.f}, {0.f, 0.f, 0.f, 1.f}, }; - - return mat; } [[nodiscard]]