5 lines
90 B
C
5 lines
90 B
C
#include <math.h>
|
|
|
|
double LerpF(double a, double b, double t) {
|
|
return a + (b - a) * t;
|
|
} |