Allow(dead_code)

That function is too nice to remove
This commit is contained in:
numzero 2024-09-28 13:30:39 +03:00
parent 33906f51b3
commit 3ab86973cc

View File

@ -146,6 +146,7 @@ pub fn main() {
}); });
} }
#[allow(dead_code)]
fn draw_cross(gc: &mut Vec<Draw>, pos: Vec2, r: f32) { fn draw_cross(gc: &mut Vec<Draw>, pos: Vec2, r: f32) {
gc.move_to(pos.x - r, pos.y - r); gc.move_to(pos.x - r, pos.y - r);
gc.line_to(pos.x + r, pos.y + r); gc.line_to(pos.x + r, pos.y + r);