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:34:33 +0200
commitf2c8522daa51f49bffa358914802b0220b6f4604 (patch)
tree5efc4589e2e139237ec371bae6675cef577df229 /src/core/Camera.cpp
parentCEntity and C(Vu)Vector fixes and cleanup (diff)
downloadre3-f2c8522daa51f49bffa358914802b0220b6f4604.tar
re3-f2c8522daa51f49bffa358914802b0220b6f4604.tar.gz
re3-f2c8522daa51f49bffa358914802b0220b6f4604.tar.bz2
re3-f2c8522daa51f49bffa358914802b0220b6f4604.tar.lz
re3-f2c8522daa51f49bffa358914802b0220b6f4604.tar.xz
re3-f2c8522daa51f49bffa358914802b0220b6f4604.tar.zst
re3-f2c8522daa51f49bffa358914802b0220b6f4604.zip
Diffstat (limited to 'src/core/Camera.cpp')
-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 baf31f04..d94efb03 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -4101,7 +4101,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