fix bias in deface lines

This commit is contained in:
bunnie 2021-06-21 00:54:18 +08:00
parent 58f0c8626f
commit 7ea45b8e5b

View file

@ -207,6 +207,8 @@ pub fn deface(gfx: &graphics_server::Gfx, trng: &trng::Trng, canvases: &mut FnvI
x = x % width;
y = y % height;
delta_x = delta_x % width;
delta_y = delta_y % width;
gfx.draw_line_clipped(
Line::new_with_style(