1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

[CSM] Add camera API (#5609)

* [CSM] Add camera API
roper rebase & squash

* Address nerzhul's review
This commit is contained in:
bigfoot547 2017-05-05 15:07:36 -05:00 committed by Loïc Blot
parent e8b00fdf98
commit de028fc056
11 changed files with 314 additions and 70 deletions

View file

@ -160,7 +160,13 @@ public:
else
m_camera_mode = CAMERA_MODE_FIRST;
}
// Set the current camera mode
inline void setCameraMode(CameraMode mode)
{
m_camera_mode = mode;
}
//read the current camera mode
inline CameraMode getCameraMode()
{