diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-07-24 19:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 19:59:16 +0200 |
commit | b79f77634dbb33627c390243d7cf2e7611d35d0a (patch) | |
tree | d836f70678f2ce7b5d86a6745f34b45232ff71d0 /src/core/Camera.h | |
parent | implemented cBuoyancy (diff) | |
parent | update (diff) | |
download | re3-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.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); |