diff options
author | aap <aap@papnet.eu> | 2019-07-24 23:06:58 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-24 23:06:58 +0200 |
commit | ecf03d0f54850005efdcea682a9728c0613325de (patch) | |
tree | 1018843e4d41101e759e5c91112d991fd8270049 /src/core/Camera.h | |
parent | fixed buoyancy; implemented CAutomobile::ProcessBuoyancy (diff) | |
parent | Merge branch 'master' into master (diff) | |
download | re3-ecf03d0f54850005efdcea682a9728c0613325de.tar re3-ecf03d0f54850005efdcea682a9728c0613325de.tar.gz re3-ecf03d0f54850005efdcea682a9728c0613325de.tar.bz2 re3-ecf03d0f54850005efdcea682a9728c0613325de.tar.lz re3-ecf03d0f54850005efdcea682a9728c0613325de.tar.xz re3-ecf03d0f54850005efdcea682a9728c0613325de.tar.zst re3-ecf03d0f54850005efdcea682a9728c0613325de.zip |
Diffstat (limited to '')
-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); |