summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-02-18 11:39:17 +0000
committer0scar <qgt268@alumni.ku.dk>2024-02-18 11:55:26 +0000
commitbfe5cc29b1f31fe4921264a96a58607c836ee516 (patch)
treee0afd73c5825c84b97ed126d4862e671b4c96f56 /src/core
parent82fb64a354a9ce91d85db7e3d9fd5fdfb8f7c9ed (diff)
Add direction to camera
Diffstat (limited to 'src/core')
-rw-r--r--src/core/src/loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/src/loop.c b/src/core/src/loop.c
index 2657e9f..534acce 100644
--- a/src/core/src/loop.c
+++ b/src/core/src/loop.c
@@ -38,6 +38,7 @@ Platform* GLOBAL_PLATFORM = NULL;
static Camera default_camera = {
.pos = {3, 0, 0},
+ .dir = {1, 1, 1},
};
input_callback_t* callbacks[128];