|
aest 0.1.0
Collection of C++ utility libraries
|
Interpolation of XYZ, channel by channel: XYZ is linear in light. More...
Static Public Member Functions | |
| static constexpr XYZ | lerp (const XYZ &from, const XYZ &to, const float amount) |
| Interpolates the tristimulus values and alpha of two colors. | |
Interpolation of XYZ, channel by channel: XYZ is linear in light.
Definition at line 747 of file Operations.cppm.
|
inlinestaticconstexpr |
Interpolates the tristimulus values and alpha of two colors.
| [in] | from | The color at amount 0 |
| [in] | to | The color at amount 1 |
| [in] | amount | Position between the two colors, in the 0-1 range |
Definition at line 756 of file Operations.cppm.