summaryrefslogtreecommitdiff
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-07-24 20:30:09 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2019-07-24 20:30:09 +0300
commit0c0e564019af4dac66150b1bfa5c13219b9eb752 (patch)
tree6cb58eae0085a0a5a4abf5535e1d452ed497dd21 /src/core/Camera.h
parentb4ecb3e3dad654e01d0ceb4c359721650dda425b (diff)
update
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 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 &center, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);