mirror of
https://git.sr.ht/~calebccff/pbsplash
synced 2026-01-12 20:48:40 -09:00
animate: fix fill_rect height
This commit is contained in:
parent
f94f3269da
commit
817f988022
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ void circles_wave(int frame, int w, int y_off, long dpi)
|
||||||
double offset = sin(f / 60.0 * PI + i);
|
double offset = sin(f / 60.0 * PI + i);
|
||||||
int y = y_off + offset * amplitude;
|
int y = y_off + offset * amplitude;
|
||||||
tfb_fill_rect(x - rad - 1, y_off - amplitude - rad, rad * 2 + 2,
|
tfb_fill_rect(x - rad - 1, y_off - amplitude - rad, rad * 2 + 2,
|
||||||
400 + rad * 2, tfb_black);
|
amplitude * 2 + rad * 2 + 1, tfb_black);
|
||||||
tfb_fill_circle(x, y, rad, t_col);
|
tfb_fill_circle(x, y, rad, t_col);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue