mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-18 06:38:14 +01:00
fix wrong variable
This commit is contained in:
parent
0c6744c62d
commit
ac1167eacc
@ -4410,7 +4410,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user