From 92da8bf0a656ba085934bcdabcdad8c420a52b2e Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 15 Jun 2026 00:45:16 +0300 Subject: [PATCH] fix --- include/omath/linear_algebra/mat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/linear_algebra/mat.hpp b/include/omath/linear_algebra/mat.hpp index 40175f9..a5115ef 100644 --- a/include/omath/linear_algebra/mat.hpp +++ b/include/omath/linear_algebra/mat.hpp @@ -662,7 +662,7 @@ namespace omath template requires std::is_floating_point_v [[nodiscard("You must use extracted rotation")]] - Vector3 mat_extract_rotation_zyx(const Mat<4, 4, Type, St>& mat) noexcept + constexpr Vector3 mat_extract_rotation_zyx(const Mat<4, 4, Type, St>& mat) noexcept { const auto scale = mat_extract_scale(mat); const auto m00 = mat.at(0, 0) / scale.x;