1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Fix 'the the' typos in comments (#9554)

This commit is contained in:
LNJ 2020-04-04 15:52:41 +02:00 committed by GitHub
parent b8d29ab0af
commit 307d7376cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -390,7 +390,7 @@ int MapgenValleys::generateTerrain()
// Rivers are placed where 'river' is negative
if (river < 0.0f) {
// Use the the function -sqrt(1-x^2) which models a circle
// Use the function -sqrt(1-x^2) which models a circle
float tr = river / river_size_factor + 1.0f;
float depth = (river_depth_bed *
std::sqrt(std::fmax(0.0f, 1.0f - tr * tr)));