mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 01:47:43 +00:00
HUD rendering bug fixes
This commit is contained in:
@@ -49,7 +49,7 @@ void CMorphBallShadow::RenderIdBuffer(const zeus::CAABox& aabb, const CStateMana
|
||||
(aabb.min.y + aabb.max.y) * 0.5f,
|
||||
aabb.max.z));
|
||||
|
||||
CGraphics::SetDepthRange(0.f, 1.f);
|
||||
CGraphics::SetDepthRange(DEPTH_NEAR, DEPTH_FAR);
|
||||
float vpX = (aabb.max.x - aabb.min.x) * 0.5f;
|
||||
float vpY = (aabb.max.y - aabb.min.y) * 0.5f;
|
||||
float vpZ = (aabb.max.z - aabb.min.z) + FLT_EPSILON;
|
||||
|
||||
Reference in New Issue
Block a user