X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_traffic.c;h=8bb19b9f673c166f9b2e6f582972e69bd2d05866;hb=8d336ea2cde7c596296dbaf0d3ce27a82c6c6cf0;hp=f7167f29e9d410d0f19f2c096ea46c701a9f6a2b;hpb=fdfd087053eb596f1e9123951af8acee94d8cd99;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_traffic.c b/ent_traffic.c index f7167f2..8bb19b9 100644 --- a/ent_traffic.c +++ b/ent_traffic.c @@ -1,9 +1,7 @@ -#ifndef ENT_TRAFFIC_C -#define ENT_TRAFFIC_C - #include "world.h" -static void ent_traffic_update( world_instance *world, v3f pos ){ +void ent_traffic_update( world_instance *world, v3f pos ) +{ for( u32 i=0; ient_traffic ); i++ ){ ent_traffic *traffic = mdl_arritm( &world->ent_traffic, i ); @@ -63,5 +61,3 @@ static void ent_traffic_update( world_instance *world, v3f pos ){ vg_line_point( traffic->transform.co, 0.3f, VG__BLUE ); } } - -#endif /* ENT_TRAFFIC_C */