summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-11 22:40:22 -0400
committerrealtradam <[email protected]>2024-05-11 22:40:22 -0400
commit963ca487e39dc6f5fa28ea230610d140bf1583fb (patch)
tree8f208c6b152b68ae75c9df7b59ccaee9e6105445 /src/main.c
parent8855c3de33c487e09b6a8fd474b0dd351ab3581c (diff)
downloadtojam2024-963ca487e39dc6f5fa28ea230610d140bf1583fb.tar.gz
tojam2024-963ca487e39dc6f5fa28ea230610d140bf1583fb.zip
attempt at first person camera
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 3a93df2..3f26d88 100644
--- a/src/main.c
+++ b/src/main.c
@@ -101,7 +101,6 @@ int main(void)
Texture2D texture = LoadTexture("rom:/cubicmap_atlas32x32.png"); // Load map texture
//Model model = LoadModel("rom:/plane.m3d");
- Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position
//BoundingBox bounds = GetMeshBoundingBox(model.meshes[0]); // Set model bounds
@@ -117,7 +116,8 @@ int main(void)
//-----------------------------------------------------
//controller_read(&controllers);
- movePlayer(&(world.players[0]));
+ movePlayers();
+ //camera = lookThroughPlayer(camera, world.players[0], world.players[1]);
// Update
//----------------------------------------------------------------------------------