improved corner pin

This commit is contained in:
itsmattkc
2018-11-12 18:44:10 +11:00
parent 398e1aef43
commit 18c112d83e
9 changed files with 78 additions and 19 deletions
+9
View File
@@ -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);
}