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

This commit is contained in:
fallenoak committed 2026-02-17 07:06:31 -06:00
1 parent 4628b7d831
commit 6bcaec1fe7
1 file changed
+1 -1
+1 -1
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);