From 6bcaec1fe7dc47d156afe57903c85cd741ac0218 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Tue, 17 Feb 2026 07:06:31 -0600 Subject: [PATCH] fix(ui): use FOV getter in CSimpleCamera::SetGxProjectionAndView --- src/ui/simple/CSimpleCamera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/simple/CSimpleCamera.cpp b/src/ui/simple/CSimpleCamera.cpp index 8a35c2f..e03757a 100644 --- a/src/ui/simple/CSimpleCamera.cpp +++ b/src/ui/simple/CSimpleCamera.cpp @@ -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);