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;
|
|
} |