aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-12-30 04:11:22 +0000
committernathan <nathansmith@disroot.org>2025-12-30 04:11:22 +0000
commite507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3 (patch)
tree72a0acb1c0e008de2b24471e50dcd7b09e609abe /src/player.h
parent91b1c45da05c892a04b6a1daa99b1de89fa1f363 (diff)
downloadFindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.tar.gz
FindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.tar.bz2
FindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.zip
Working on building collision
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 6be9258..7755ef9 100644
--- a/src/player.h
+++ b/src/player.h
@@ -4,6 +4,7 @@
#ifndef PLAYER_H
#define PLAYER_H
+#define PLAYER_WIDTH 1.0
#define PLAYER_HEIGHT 2.0
#define PLAYER_SPEED 8.0
#define PLAYER_MAX_SELECT_DISTANCE 10.0
@@ -12,6 +13,9 @@ typedef struct {
Vector3 position;
Vector3 direction;
Vector3 velocity;
+
+ BoundingBox relativeBox;
+ BoundingBox box;
Camera camera;
Vector2 cameraAngle;