mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
fix
This commit is contained in:
@@ -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]]
|
||||||
|
|||||||
Reference in New Issue
Block a user