From 62002c6eae69067e9b2423d66e3d82b30e7f8d17 Mon Sep 17 00:00:00 2001 From: SamuXarick <43006711+SamuXarick@users.noreply.github.com> Date: Mon, 20 Jan 2025 13:40:45 +0000 Subject: [PATCH] Doc: Standardize map size notation and multiply operator --- src/tgp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tgp.cpp b/src/tgp.cpp index c8fece4484..9c5a610860 100644 --- a/src/tgp.cpp +++ b/src/tgp.cpp @@ -84,7 +84,7 @@ * * I will try to explain it on the example below: * - * Have a map of 4 x 4 tiles, our simplified noise generator produces only two + * Have a map of 4x4 tiles, our simplified noise generator produces only two * values -1 and +1, use 3 octaves with wave length 1, 2 and 4, with amplitudes * 3, 2, 1. Original algorithm produces: * @@ -157,7 +157,7 @@ static const int HEIGHT_DECIMAL_BITS = 4; using Amplitude = int; static const int AMPLITUDE_DECIMAL_BITS = 10; -/** Height map - allocated array of heights (Map::SizeX() + 1) x (Map::SizeY() + 1) */ +/** Height map - allocated array of heights (Map::SizeX() + 1) * (Map::SizeY() + 1) */ struct HeightMap { std::vector h; //< array of heights