From a12a2586358280e6d2b05a8b623c828c9b39c56c Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Thu, 14 Oct 2021 22:54:07 -0400 Subject: [PATCH] rename to vnf_drop_extra_points --- vnf.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vnf.scad b/vnf.scad index d8ff3a7..dae704b 100644 --- a/vnf.scad +++ b/vnf.scad @@ -496,14 +496,14 @@ function vnf_quantize(vnf,q=pow(2,-12)) = [[for (pt = vnf[0]) quant(pt,q)], vnf[1]]; -// Function: vnf_clean_unrefs() +// Function: vnf_drop_extra_points() // Usage: -// clean_vnf=vnf_clean_unrefs(vnf); +// clean_vnf=vnf_drop_extra_points(vnf); // Description: // Remove all unreferenced vertices from a VNF. Note that in most // cases unreferenced vertices cause no harm, and this function may // be slow on large VNFs. -function vnf_clean_unrefs(vnf) = +function vnf_drop_extra_points(vnf) = let( flat = flatten(vnf[1]), ind = len(vnf[0])<800