mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
remove extra is_vnf definition
This commit is contained in:
parent
89b176d329
commit
267b5cd771
1 changed files with 0 additions and 3 deletions
3
vnf.scad
3
vnf.scad
|
@ -457,9 +457,6 @@ function vnf_from_region(region, transform, reverse=false) =
|
|||
// bool = is_vnf(x);
|
||||
// Description:
|
||||
// Returns true if the given value looks like a VNF structure.
|
||||
function is_vnf(x) = is_list(x) && len(x)==2 && is_list(x[0]) && is_list(x[1])
|
||||
&& is_vector(x[0][0],3) && is_vector(x[1][0]);
|
||||
|
||||
function is_vnf(x) =
|
||||
is_list(x) &&
|
||||
len(x)==2 &&
|
||||
|
|
Loading…
Reference in a new issue