diff options
| author | realtradam <[email protected]> | 2024-05-11 22:40:22 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-11 22:40:22 -0400 |
| commit | 963ca487e39dc6f5fa28ea230610d140bf1583fb (patch) | |
| tree | 8f208c6b152b68ae75c9df7b59ccaee9e6105445 /src/main.c | |
| parent | 8855c3de33c487e09b6a8fd474b0dd351ab3581c (diff) | |
| download | tojam2024-963ca487e39dc6f5fa28ea230610d140bf1583fb.tar.gz tojam2024-963ca487e39dc6f5fa28ea230610d140bf1583fb.zip | |
attempt at first person camera
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 //---------------------------------------------------------------------------------- |
