diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-08 17:02:23 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-08 17:02:23 +0200 |
commit | 76a22c0d1355c62f791c353d2dcaf5960ccbefa1 (patch) | |
tree | 73cd9a84737372fa412f2616769fa5a9da30679d /src/core | |
parent | Sync fix from miami (diff) | |
download | re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar.gz re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar.bz2 re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar.lz re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar.xz re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.tar.zst re3-76a22c0d1355c62f791c353d2dcaf5960ccbefa1.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Camera.cpp | 2 | ||||
-rw-r--r-- | src/core/Camera.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 3ebd52f2..e7cd65a0 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -4076,7 +4076,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; diff --git a/src/core/Camera.h b/src/core/Camera.h index 7612b937..39ecb760 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -631,7 +631,7 @@ public: CVector &GetGameCamPosition(void) { return m_vecGameCamPos; } void CalculateDerivedValues(void); bool IsPointVisible(const CVector ¢er, const CMatrix *mat); - bool IsSphereVisible(const CVector ¢er, float radius, Const CMatrix *mat); + bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius); bool IsBoxVisible(CVUVECTOR *box, const CMatrix *mat); }; |