summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-07-24 19:59:16 +0200
committerGitHub <noreply@github.com>2019-07-24 19:59:16 +0200
commitb79f77634dbb33627c390243d7cf2e7611d35d0a (patch)
treed836f70678f2ce7b5d86a6745f34b45232ff71d0 /src/core/Camera.h
parentimplemented cBuoyancy (diff)
parentupdate (diff)
downloadre3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar.gz
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar.bz2
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar.lz
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar.xz
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.tar.zst
re3-b79f77634dbb33627c390243d7cf2e7611d35d0a.zip
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r--src/core/Camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h
index d890db84..1a2aae79 100644
--- a/src/core/Camera.h
+++ b/src/core/Camera.h
@@ -442,7 +442,7 @@ int m_iModeObbeCamIsInForCar;
static bool &m_bUseMouse3rdPerson;
bool Get_Just_Switched_Status() { return m_bJust_Switched; }
- CMatrix &GetCameraMatrix(void) { return m_cameraMatrix; }
+ inline const CMatrix GetCameraMatrix(void) { return m_cameraMatrix; }
CVector &GetGameCamPosition(void) { return m_vecGameCamPos; }
bool IsPointVisible(const CVector &center, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);