Function get_gradient_average

Source
fn get_gradient_average(aabr: Aabr<i32>, land: &Land<'_>) -> f32
Expand description

Returns the average gradient of the chunks neighboring the center of the given aabr, as well as the gradient of the chunk at the center of the aabr itself.