summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-05 12:00:45 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:45:48 +0200
commit1558788df122d9c8df23a8127572d4bfcf68ca15 (patch)
tree8898ae718f134ac4ba376b9063fadd306152c1c1 /src/core/Camera.cpp
parentCEntity and C(Vu)Vector fixes and cleanup (diff)
downloadre3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar.gz
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar.bz2
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar.lz
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar.xz
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.tar.zst
re3-1558788df122d9c8df23a8127572d4bfcf68ca15.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 35d4ea7d..987efe04 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -4103,7 +4103,7 @@ CCamera::IsSphereVisible(const CVector &center, float radius, const CMatrix *mat
bool
CCamera::IsSphereVisible(const CVector &center, float radius)
{
- return IsSphereVisible(center, radius, &m_cameraMatrix);
+ return IsSphereVisible(center, radius, &GetCameraMatrix());
}
bool