From f184c938042da5cdad3feef009c749b09da1e8d8 Mon Sep 17 00:00:00 2001 From: CoCoSol007 Date: Wed, 21 Feb 2024 18:40:20 +0100 Subject: [PATCH] change doc --- crates/border-wars/src/map/generation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/border-wars/src/map/generation.rs b/crates/border-wars/src/map/generation.rs index 2de36e5..610a895 100644 --- a/crates/border-wars/src/map/generation.rs +++ b/crates/border-wars/src/map/generation.rs @@ -73,7 +73,7 @@ fn generate_map( } } -/// Returns the type of the position with the given noise. +/// Returns the type of the [HexPosition] with the given noise. fn get_type_tile(position: HexPosition, noise: &Perlin) -> Tile { let pixel_position = position.to_pixel_coordinates() * MAP_GENERATION_ZOOM; let value = noise.get([pixel_position.x as f64, pixel_position.y as f64]);