summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-24 23:06:58 +0200
committeraap <aap@papnet.eu>2019-07-24 23:06:58 +0200
commitecf03d0f54850005efdcea682a9728c0613325de (patch)
tree1018843e4d41101e759e5c91112d991fd8270049 /src/core/Camera.h
parentfixed buoyancy; implemented CAutomobile::ProcessBuoyancy (diff)
parentMerge branch 'master' into master (diff)
downloadre3-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 '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 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 &center, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);