diff options
| author | raysan5 <[email protected]> | 2020-05-01 17:31:44 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-05-01 17:31:44 +0200 |
| commit | 51c3bef4972047dc9927643fd1f1826970203f7d (patch) | |
| tree | 361acf41e1a5edb81ff3f2a615884e2fbb08d690 /src/camera.h | |
| parent | 1c15dc72928c55fe01a1ed58c2a1d329eb80029d (diff) | |
| download | raylib-51c3bef4972047dc9927643fd1f1826970203f7d.tar.gz raylib-51c3bef4972047dc9927643fd1f1826970203f7d.zip | |
Review exposed #defines and allow user re-defining
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required.
Also, multiple #define have been renamed and commented.
Diffstat (limited to 'src/camera.h')
| -rw-r--r-- | src/camera.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/camera.h b/src/camera.h index f1ef42e9..31db38f0 100644 --- a/src/camera.h +++ b/src/camera.h @@ -135,6 +135,9 @@ void SetCameraMoveControls(int frontKey, int backKey, #include <math.h> // Required for: sinf(), cosf(), sqrtf() +//---------------------------------------------------------------------------------- +// Defines and Macros +//---------------------------------------------------------------------------------- #ifndef PI #define PI 3.14159265358979323846 #endif @@ -145,9 +148,6 @@ void SetCameraMoveControls(int frontKey, int backKey, #define RAD2DEG (180.0f/PI) #endif -//---------------------------------------------------------------------------------- -// Defines and Macros -//---------------------------------------------------------------------------------- // Camera mouse movement sensitivity #define CAMERA_MOUSE_MOVE_SENSITIVITY 0.003f #define CAMERA_MOUSE_SCROLL_SENSITIVITY 1.5f |
