X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world.h;h=bf81595c296de4c02ac6c967f6b56c49ebd42b3e;hb=c33e4f46d864b2fde0c5938bf5a9388b1e8b5c04;hp=9ae654e27937333728d5db924b404edb88723176;hpb=d13f2700b1773551307685cc7c34c804ccd6d664;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world.h b/world.h index 9ae654e..bf81595 100644 --- a/world.h +++ b/world.h @@ -1,3 +1,7 @@ +/* + * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + */ + #include "common.h" static int ray_world( v3f pos, v3f dir, ray_hit *hit ); @@ -10,11 +14,9 @@ static int ray_world( v3f pos, v3f dir, ray_hit *hit ); #include "network.h" #include "network_msg.h" #include "scene.h" -#include "terrain.h" #include "render.h" #include "rigidbody.h" #include "bvh.h" -#include "lighting.h" #include "model.h" #include "traffic.h" /*TODO: -> world_traffic.h */ @@ -291,7 +293,9 @@ static void world_free( void *_ ) static void world_update( v3f pos ) { world_routes_update(); +#if 0 world_routes_debug(); +#endif int closest = 0; float min_dist = INFINITY;