diff options
author | nathan <nathansmith@disroot.org> | 2025-07-27 06:27:20 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-27 06:27:20 +0000 |
commit | 3025b1417a3fd990b320b5d28bf48b10920158c1 (patch) | |
tree | 37e11e1c0274f200d276c4d1f5d23da50e6c454f /src/player.c | |
parent | 3cfd7f13a0943f7117dd063a8f016f5d61f75e63 (diff) | |
download | FindThings-3025b1417a3fd990b320b5d28bf48b10920158c1.tar.gz FindThings-3025b1417a3fd990b320b5d28bf48b10920158c1.tar.bz2 FindThings-3025b1417a3fd990b320b5d28bf48b10920158c1.zip |
Not much but something (depression hitting hard right now)
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/player.c b/src/player.c index 136a006..fbf404d 100644 --- a/src/player.c +++ b/src/player.c @@ -83,22 +83,22 @@ void updatePlayer(Player* player, Game* game) camera->position = player->position; camera->target = Vector3Add(player->position, player->direction); -#ifdef FT_DEBUG_MODE - Ray ray = (Ray){ - .position = player->position, - .direction = player->direction - }; +/* #ifdef FT_DEBUG_MODE */ +/* Ray ray = (Ray){ */ +/* .position = player->position, */ +/* .direction = player->direction */ +/* }; */ - DrawRay(ray, YELLOW); +/* DrawRay(ray, YELLOW); */ - int tests; - WorldUID uid = castRayAtWorld(&game->world, ray, &tests); +/* int tests; */ +/* WorldUID uid = castRayAtWorld(&game->world, ray, &tests); */ - printf("%d\n", tests); +/* printf("%d\n", tests); */ - if (uid != -1) - { - DrawBoundingBox(game->world.entities[uid].box, RED); - } -#endif +/* if (uid != -1) */ +/* { */ +/* DrawBoundingBox(game->world.entities[uid].box, RED); */ +/* } */ +/* #endif */ } |