improved corner pin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include "math.h"
|
||||
|
||||
int lerp(int a, int b, double t) {
|
||||
return ((1.0 - t) * a) + (t * b);
|
||||
}
|
||||
|
||||
double double_lerp(double a, double b, double t) {
|
||||
return ((1.0 - t) * a) + (t * b);
|
||||
}
|
||||
Reference in New Issue
Block a user