Skip to main content

is_beach

Function is_beach 

Source
pub fn is_beach(
    shore: &OceanShore,
    hmap: &Heightmap,
    x: usize,
    y: usize,
) -> bool
Expand description

Check if a point is within beach_width of the shore