diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-07-24 20:59:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 20:59:16 +0300 |
commit | b79f77634dbb33627c390243d7cf2e7611d35d0a (patch) | |
tree | d836f70678f2ce7b5d86a6745f34b45232ff71d0 /src/core/Camera.h | |
parent | ae69aaf5ce8eca137bd5da85e26c63a5027e049d (diff) | |
parent | 0c0e564019af4dac66150b1bfa5c13219b9eb752 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r-- | src/core/Camera.h | 2 |
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 ¢er, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat); |