fix(ui): use FOV getter in CSimpleCamera::SetGxProjectionAndView

This commit is contained in:
fallenoak 2026-02-17 07:06:31 -06:00
parent 4628b7d831
commit 6bcaec1fe7
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -114,7 +114,7 @@ void CSimpleCamera::SetGxProjectionAndView(const CRect& projRect) {
this->m_aspect = (projRect.maxX - projRect.minX) / (projRect.maxY - projRect.minY);
C44Matrix projMat;
GxuXformCreateProjection_Exact(this->m_fov * 0.6f, this->m_aspect, this->m_nearZ, this->m_farZ, projMat);
GxuXformCreateProjection_Exact(this->FOV() * 0.6f, this->m_aspect, this->m_nearZ, this->m_farZ, projMat);
GxXformSetProjection(projMat);