Removed assert_in_list() in favor of assert(in_list())

This commit is contained in:
Revar Desmera
2019-10-31 01:33:28 -07:00
parent fa572fc398
commit 302b8c4b2f
5 changed files with 4 additions and 32 deletions

View File

@@ -379,7 +379,7 @@ function bezier_close_to_axis(bezier, N=3, axis="X") =
[for (i=[1:1:N]) lerp(ep, [0,ep.y], i/N)],
[for (i=[1:1:N]) lerp([0,ep.y], [0,sp.y], i/N)]
) : (
assert_in_list("axis", axis, ["X","Y"])
assert(in_list(axis, ["X","Y"]))
);