summaryrefslogtreecommitdiff
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-07-24 20:59:16 +0300
committerGitHub <noreply@github.com>2019-07-24 20:59:16 +0300
commitb79f77634dbb33627c390243d7cf2e7611d35d0a (patch)
treed836f70678f2ce7b5d86a6745f34b45232ff71d0 /src/core/Camera.h
parentae69aaf5ce8eca137bd5da85e26c63a5027e049d (diff)
parent0c0e564019af4dac66150b1bfa5c13219b9eb752 (diff)
Merge branch 'master' into master
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);