mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
GuiSys Image geometry fixes
This commit is contained in:
@@ -84,12 +84,12 @@ void CGuiSys::ViewportResizeFrame(CGuiFrame* frame)
|
||||
if (vpAspectRatio >= frame->m_aspectConstraint)
|
||||
{
|
||||
hPad = frame->m_aspectConstraint / vpAspectRatio;
|
||||
vPad = frame->m_aspectConstraint / 1.36f;
|
||||
vPad = frame->m_aspectConstraint / 1.38f;
|
||||
}
|
||||
else
|
||||
{
|
||||
hPad = 1.f;
|
||||
vPad = vpAspectRatio / 1.36f;
|
||||
vPad = vpAspectRatio / 1.38f;
|
||||
}
|
||||
frame->m_aspectTransform = zeus::CTransform::Scale({hPad, 1.f, vPad});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user