Skip to main content

paint_disc

Function paint_disc 

Source
fn paint_disc(
    mask: &mut [bool],
    size: (usize, usize),
    centre: (f32, f32),
    radius: f32,
)
Expand description

Lights every site of mask within radius of centre.