Add FOV setting

This commit is contained in:
Miloslav Ciz 2025-04-27 20:19:28 +02:00
parent 5265552c57
commit cfe2f711de
5 changed files with 22 additions and 4 deletions

View file

@ -32,6 +32,12 @@
#define LCR_SETTING_FPS 30
#endif
#ifndef LCR_SETTING_CAMERA_FOCAL_LENGTH
/** Adjusts camera's focal length, which affects field of view (FOV). The
value must be in range from 1 to 32. */
#define LCR_SETTING_CAMERA_FOCAL_LENGTH 17
#endif
#ifndef LCR_SETTING_FREE_CAMERA_SPEED
/** Move speed of free camera, in 1/8ths of block length. */
#define LCR_SETTING_FREE_CAMERA_SPEED 50