Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Oct 24, 2020
1 parent 9de88a9 commit da5f4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PerlinNoise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace siv

for (std::int32_t i = 0; i < octaves; ++i)
{
result += noise(x) * amp;
result += noise1D(x) * amp;
x *= 2;
amp /= 2;
}
Expand Down

0 comments on commit da5f4db

Please sign in to comment.