1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 20:10:36 +02:00

fix variable name

This commit is contained in:
Justin Lin
2019-06-25 18:09:36 +08:00
parent d1bd586bee
commit 0c6744c62d

View File

@@ -50,7 +50,7 @@ function _in_shape_sub(shapt_pts, leng, pt, cond, i, j) =
function in_shape(shapt_pts, pt, include_edge = false, epsilon = 0.0001) =
let(
leng = len(shapt_pts),
edges = __lines_from(points, true)
edges = __lines_from(shapt_pts, true)
)
_in_shape_in_any_edges(edges, pt, epsilon) ? include_edge :
_in_shape_sub(shapt_pts, leng, pt, false, leng - 1, 0);