From 38ee4a9c66dc4cdd13953528ee12c0aa9d5d47d1 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 14 Apr 2022 21:21:01 +0800 Subject: [PATCH] refactor: rename var --- src/voxel/vx_intersection.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/voxel/vx_intersection.scad b/src/voxel/vx_intersection.scad index ef264881..3960bf06 100644 --- a/src/voxel/vx_intersection.scad +++ b/src/voxel/vx_intersection.scad @@ -18,6 +18,6 @@ function vx_intersection(points1, points2) = leng2 = len(points2), pts_pair = leng1 > leng2 ? [points1, points2] : [points2, points1], hash = function(p) _pt3_hash(p), - sorted = hashset(pts_pair[1], hash = hash) + set = hashset(pts_pair[1], hash = hash) ) - [for(p = pts_pair[0]) if(hashset_has(sorted, p, hash = hash)) p]; \ No newline at end of file + [for(p = pts_pair[0]) if(hashset_has(set, p, hash = hash)) p]; \ No newline at end of file