1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-22 14:23:23 +02:00

refactor: rename var

This commit is contained in:
Justin Lin
2022-04-14 21:21:01 +08:00
parent 695e161724
commit 38ee4a9c66

View File

@@ -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];
[for(p = pts_pair[0]) if(hashset_has(set, p, hash = hash)) p];