Fix badly-formatted indent
This commit is contained in:
parent
92b604fac3
commit
b01bcc568f
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ constexpr float SmootherStep(const float x) {
|
||||||
// If x <= 0 returns bound_0, if x >= 1 returns bound_1,
|
// If x <= 0 returns bound_0, if x >= 1 returns bound_1,
|
||||||
// otherwise smoothly transitions between the two
|
// otherwise smoothly transitions between the two
|
||||||
constexpr float Interpolate(const float x, const float bound_0,
|
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);
|
return bound_0 + SmootherStep(x) * (bound_1 - bound_0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue