From 7faa1cbde913ad8c56bc43bc01512799d4cf6d02 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 29 Jul 2025 02:17:10 -0600 Subject: Working hard or hardly working --- src/player.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index f32d8bb..eb1f55a 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 */ } -- cgit v1.2.3