mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
Windows Fixes; D3D depth support
This commit is contained in:
@@ -31,7 +31,8 @@ zeus::CVector3f CGuiCamera::ConvertToScreenSpace(const zeus::CVector3f& vec) con
|
||||
return {-1.f, -1.f, 1.f};
|
||||
|
||||
zeus::CMatrix4f mat = CGraphics::CalculatePerspectiveMatrix(xfc_fov, x100_aspect,
|
||||
x104_znear, x108_zfar);
|
||||
x104_znear, x108_zfar,
|
||||
false);
|
||||
return mat.multiplyOneOverW(local);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user