tmp/tmp0mdknzdz/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,10 @@
|
|
| 1 |
### Linear interpolation <a id="c.math.lerp">[[c.math.lerp]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
constexpr
|
| 5 |
-
|
| 6 |
-
constexpr long double lerp(long double a, long double b, long double t) noexcept;
|
| 7 |
```
|
| 8 |
|
| 9 |
*Returns:* a+t(b-a).
|
| 10 |
|
| 11 |
*Remarks:* Let `r` be the value returned. If
|
|
|
|
| 1 |
### Linear interpolation <a id="c.math.lerp">[[c.math.lerp]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr floating-point-type lerp(floating-point-type a, floating-point-type b,
|
| 5 |
+
floating-point-type t) noexcept;
|
|
|
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* a+t(b-a).
|
| 9 |
|
| 10 |
*Remarks:* Let `r` be the value returned. If
|