X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=790f9a1b8ffb6cf7e523077bb7030e86d2693f7f;hb=a99e5f5d5c16a3e865796a96ad648e3c570d32ac;hp=6a415e631ac4c48882b4472d36f98f28d2547811;hpb=2628c75509ab49115259d0927b8926c9ca0218ae;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 6a415e6..790f9a1 100644 --- a/world_render.h +++ b/world_render.h @@ -425,7 +425,7 @@ VG_STATIC void world_prerender( world_instance *world ) state->g_debug_indices = k_debug_light_indices; state->g_light_preview = k_light_preview; state->g_debug_complexity = k_debug_light_complexity; -state->g_time_of_day = vg_fractf( g_time ); + state->g_time_of_day = vg_fractf( g_time ); state->g_day_phase = cosf( state->g_time_of_day * VG_PIf * 2.0f ); state->g_sunset_phase= cosf( state->g_time_of_day * VG_PIf * 4.0f + VG_PIf );