PROWAREtech








C/C++: LERP - Linear Interpolation Function
A useful function for easing the transition between two values over time.
For reference:
double lerp(double a, double b, double t)
{
return a + (b - a) * t;
}
Comment
For reference:
double lerp(double a, double b, double t)
{
return a + (b - a) * t;
}
This site uses cookies. Cookies are simple text files stored on the user's computer. They are used for adding features and security to this site. Read the privacy policy. |