debug log output

This commit is contained in:
Peter Slattery 2022-08-09 17:12:28 -07:00
parent 2b29b3fa43
commit d2c3ae6fb7
3 changed files with 5 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -44,6 +44,7 @@ incenter_scene_go_to(Incenter_State* ins, u32 index)
ins->transition_time = 0; ins->transition_time = 0;
ins->scene_next = index % ins->scenes_cap; ins->scene_next = index % ins->scenes_cap;
ins->scene_mode = Incenter_SceneMode_TransitioningOut; ins->scene_mode = Incenter_SceneMode_TransitioningOut;
printf("Switching To: %s\n", ins->scenes[ins->scene_next].name);
} }
internal void internal void
@ -181,6 +182,8 @@ incenter_init(App_State* state)
r32 rad = 0.05f; r32 rad = 0.05f;
sculpture_updated(state, 5, rad); sculpture_updated(state, 5, rad);
scratch_release(scratch); scratch_release(scratch);
printf("Incenter Initialized\n");
} }
internal void internal void
@ -222,6 +225,7 @@ incenter_frame(App_State* state)
ins->scene_time += state->target_seconds_per_frame; ins->scene_time += state->target_seconds_per_frame;
ins->transition_time += state->target_seconds_per_frame; ins->transition_time += state->target_seconds_per_frame;
incenter_scene_render(state, ins); incenter_scene_render(state, ins);
} }
internal void internal void