summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-08 17:02:23 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-08 17:02:23 +0200
commit76a22c0d1355c62f791c353d2dcaf5960ccbefa1 (patch)
tree73cd9a84737372fa412f2616769fa5a9da30679d
parentSync fix from miami (diff)
downloadre3-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
-rw-r--r--src/core/Camera.cpp2
-rw-r--r--src/core/Camera.h2
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 &center, const CMatrix *mat)
}
bool
-CCamera::IsSphereVisible(const CVector &center, float radius, Const CMatrix *mat)
+CCamera::IsSphereVisible(const CVector &center, 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 &center, const CMatrix *mat);
- bool IsSphereVisible(const CVector &center, float radius, Const CMatrix *mat);
+ bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius);
bool IsBoxVisible(CVUVECTOR *box, const CMatrix *mat);
};