mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-03 13:22:51 +02:00
Removed assert_in_list() in favor of assert(in_list())
This commit is contained in:
@@ -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"]))
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user