debug log output
This commit is contained in:
parent
2b29b3fa43
commit
d2c3ae6fb7
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue