mirror of https://github.com/encounter/aurora.git
GXTransform: Projection matrix depth fix
This commit is contained in:
parent
c060e1da6b
commit
5d0848d428
|
@ -1,9 +1,11 @@
|
|||
#include "gx.hpp"
|
||||
|
||||
#include <cfloat>
|
||||
|
||||
constexpr aurora::Mat4x4<float> DepthCorrect{
|
||||
{1.f, 0.f, 0.f, 0.f},
|
||||
{0.f, 1.f, 0.f, 0.f},
|
||||
{0.f, 0.f, 1.f, 0.f},
|
||||
{0.f, 0.f, 1.f + FLT_EPSILON, 0.f},
|
||||
{0.f, 0.f, 1.f, 1.f},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue