Fix conflict in HMM_Perspective_LH_NO

This commit is contained in:
AllMeatball 2025-05-25 17:48:43 -05:00
parent 4f3e2ad567
commit bc732a29bb

View File

@ -208,6 +208,13 @@ HRESULT Direct3DRMViewport_SDL3GPUImpl::CollectSceneData(IDirect3DRMFrame* group
recurseFrame(group, identity);
PushVertices(verts.data(), verts.size());
HMM_Perspective_LH_NO(
m_uniforms.perspective,
m_field,
4.f/3.f,
m_front,
m_back
);
// SDL_Log("FOV: %f", m_field);
HMM_Perspective_LH_NO(m_uniforms.perspective, m_field * SDL_PI_F * 4, 4.f / 3.f, m_front, m_back);