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:
parent
b8d29ab0af
commit
307d7376cf
2 changed files with 2 additions and 2 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue