offset "remaining" animation timing

This commit is contained in:
Zack Buhman 2025-12-05 20:47:24 -06:00
parent 2469c8dc62
commit 9d8726a773

View File

@ -430,6 +430,8 @@ void render_font(struct mesh plane_mesh,
// remaining
//////////////////////////////////////////////////////////////////////
glUniform1f(uniform_time, state->time + 0.5);
double remaining = state->remaining;
if (remaining < 0.0)
remaining = 0.0;
@ -452,7 +454,7 @@ void render_font(struct mesh plane_mesh,
aspect,
a, s, r,
28.0f, // scale
14 * grid_width, 1.95 * grid_height);
13.75 * grid_width, 1.95 * grid_height);
//////////////////////////////////////////////////////////////////////