add view bobbing

This commit is contained in:
Crydsch 2022-07-18 16:45:15 +02:00
commit cbb7df42ff

View file

@ -308,6 +308,7 @@ typedef struct Camera3D {
float fovy; // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
int projection; // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
int mode; // Camera mode: CAMERA_FREE, CAMERA_FIRST_PERSON, CAMERA_THIRD_PERSON, CAMERA_ORBITAL or CUSTOM
int swingCounter; // Camera view-bobbing. Set to 0 to deactivate.
} Camera3D;
typedef Camera3D Camera; // Camera type fallback, defaults to Camera3D