Skip to main content

paint_ground

Function paint_ground 

Source
pub fn paint_ground(
    ctx: &CanvasRenderingContext2d,
    viewport: Rect,
    vantage: Vantage,
    ground: Ground,
)
Expand description

Fill viewport and rule the grid vantage shows over it.