diff --git a/src/noise_math.h b/src/noise_math.h index b338d3f..eb3003d 100644 --- a/src/noise_math.h +++ b/src/noise_math.h @@ -18,6 +18,6 @@ constexpr float SmootherStep(const float x) { // If x <= 0 returns bound_0, if x >= 1 returns bound_1, // otherwise smoothly transitions between the two constexpr float Interpolate(const float x, const float bound_0, - const float bound_1) { + const float bound_1) { return bound_0 + SmootherStep(x) * (bound_1 - bound_0); }