diff --git a/lmath.c b/lmath.c index b71c0f2..4e86786 100644 --- a/lmath.c +++ b/lmath.c @@ -10,6 +10,16 @@ #include "util.h" +/*** + * Linearly interpolates using the values given. + * + * Returns `x + (y - x) * z` + * + * @function lerp + * @tparam number x + * @tparam number y + * @tparam number z + */ static int math_lerp(lua_State *L) {