This commit is contained in:
2024-10-05 06:10:33 +03:00
parent 1a5529982c
commit 22d03f00b9

View File

@@ -270,8 +270,6 @@ namespace omath
[[nodiscard]] [[nodiscard]]
constexpr static Mat<4, 4> OrientationMat(const Vector3& forward, const Vector3& right, const Vector3& up) constexpr static Mat<4, 4> OrientationMat(const Vector3& forward, const Vector3& right, const Vector3& up)
{ {
Mat<4, 4> mat;
return return
{ {
{right.x, up.x, forward.x, 0.f}, {right.x, up.x, forward.x, 0.f},
@@ -279,8 +277,6 @@ namespace omath
{right.z, up.z, forward.z, 0.f}, {right.z, up.z, forward.z, 0.f},
{0.f, 0.f, 0.f, 1.f}, {0.f, 0.f, 0.f, 1.f},
}; };
return mat;
} }
[[nodiscard]] [[nodiscard]]