add view bobbing
This commit is contained in:
parent
cb8f2ff494
commit
cbb7df42ff
1 changed files with 48 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue