summaryrefslogtreecommitdiffhomepage
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 3d9db39..0e94080 100644
--- a/src/player.h
+++ b/src/player.h
@@ -4,6 +4,9 @@
#include "raylib.h"
#include "input.h"
+// for camera_style
+// 0 = first person
+// 1 = third person
typedef
struct
{
@@ -11,6 +14,7 @@ struct
Vector3 direction;
float speed;
Color color;
+ int camera_mode;
}
Player;