diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-04 21:25:01 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-04 21:25:01 -0600 |
commit | f45d32ca36a0ae85410b3eee61120fa97bf9bd25 (patch) | |
tree | d2b199bb12e9e9fe967dca415bf1b7270382774a /src/cameras.h | |
parent | 5627fd8128957710c6f16330b2bc1bc3251c5355 (diff) |
Game play feeling great
Diffstat (limited to 'src/cameras.h')
-rw-r--r-- | src/cameras.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cameras.h b/src/cameras.h index dca91ee..e02a393 100644 --- a/src/cameras.h +++ b/src/cameras.h @@ -7,7 +7,7 @@ #define THIRD_PERSON_CAMERA_DISTANCE (Vector3){0.0, 10.0, -20.0} #define DEBUG_CAMERA_POSITION (Vector3){0.0, 200.0, 100.0} -#define CAMERA_COUNT 3 +#define CAMERA_COUNT 4 // Each camera has a game loop callback and a init callback. typedef void (*CameraInitCb)(Game * game, Camera3D * camera); @@ -19,6 +19,7 @@ extern const CameraCb cameraCallbacks[CAMERA_COUNT]; typedef enum CameraId { FIRST_PERSON_CAMERA, THIRD_PERSON_CAMERA, + ZOOM_CAMERA, DEBUG_CAMERA } CameraId; |