diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-27 15:50:15 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:32:43 +0200 |
commit | 2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac (patch) | |
tree | 15efc250158c790c0b73e44a7692dc21b0d9cc9c /src/core/Camera.cpp | |
parent | CEntity and C(Vu)Vector fixes and cleanup (diff) | |
download | re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar.gz re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar.bz2 re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar.lz re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar.xz re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.tar.zst re3-2ad3a75be5ba34d1376ad7c3fa7fc94adeaa32ac.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 5c86ca99..5881dacd 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -3650,7 +3650,7 @@ CCamera::IsPointVisible(const CVector ¢er, const CMatrix *mat) } bool -CCamera::IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat) +CCamera::IsSphereVisible(const CVector ¢er, float radius, Const CMatrix *mat) { #ifdef GTA_PS2 CVuVector c; @@ -3680,7 +3680,7 @@ CCamera::IsSphereVisible(const CVector ¢er, float radius) return IsSphereVisible(center, radius, &m_cameraMatrix); #else // ...and on PC they decided to call the other one with a default matrix. - CMatrix mat(m_cameraMatrix); // this matrix construction is stupid and gone in VC + CMatrix mat(GetCameraMatrix()); // this matrix construction is stupid and gone in VC return IsSphereVisible(center, radius, &mat); #endif } |