From 963ca487e39dc6f5fa28ea230610d140bf1583fb Mon Sep 17 00:00:00 2001 From: realtradam Date: Sat, 11 May 2024 22:40:22 -0400 Subject: attempt at first person camera --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') 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 //---------------------------------------------------------------------------------- -- cgit v1.2.3