From 4460a94933091149466e1d656c3ecfc20a6aeb40 Mon Sep 17 00:00:00 2001 From: Max Cahill <1bardesign@gmail.com> Date: Fri, 19 Nov 2021 15:28:54 +1100 Subject: [PATCH] mathx.random_lerp calls mathx.lerp instead of math.lerp so it works without exported globals fixes #41 --- mathx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathx.lua b/mathx.lua index 4e63d59..e7871d9 100644 --- a/mathx.lua +++ b/mathx.lua @@ -70,7 +70,7 @@ end --bilinear interpolation between 4 samples function mathx.bilerp(a, b, c, d, u, v) - return math.lerp( + return mathx.lerp( math.lerp(a, b, u), math.lerp(c, d, u), v