diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-07-24 20:30:09 +0300 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-07-24 20:30:09 +0300 |
commit | 0c0e564019af4dac66150b1bfa5c13219b9eb752 (patch) | |
tree | 6cb58eae0085a0a5a4abf5535e1d452ed497dd21 /src/core/Camera.h | |
parent | b4ecb3e3dad654e01d0ceb4c359721650dda425b (diff) |
update
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 10554601..84af9d55 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -441,7 +441,7 @@ int m_iModeObbeCamIsInForCar; static bool &m_bUseMouse3rdPerson; - 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); |