From badfbb1ff98026a4433a146f9caa433be3a46785 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Mon, 25 Sep 2023 21:44:19 -0600 Subject: debug camera added --- src/cameras.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/cameras.h') diff --git a/src/cameras.h b/src/cameras.h index debd658..dca91ee 100644 --- a/src/cameras.h +++ b/src/cameras.h @@ -4,10 +4,10 @@ #define CAMERAS_H #define FIRST_PERSON_CAMERA_DISTANCE 5.0 - #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 2 +#define CAMERA_COUNT 3 // Each camera has a game loop callback and a init callback. typedef void (*CameraInitCb)(Game * game, Camera3D * camera); @@ -18,7 +18,8 @@ extern const CameraCb cameraCallbacks[CAMERA_COUNT]; typedef enum CameraId { FIRST_PERSON_CAMERA, - THIRD_PERSON_CAMERA + THIRD_PERSON_CAMERA, + DEBUG_CAMERA } CameraId; // A array of the cameras. -- cgit v1.2.3