mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Fixed errant array_subindex() references.
This commit is contained in:
parent
092f8dc548
commit
34f9677035
@ -372,10 +372,10 @@ function pointlist_bounds(pts) = [
|
||||
// path = The list of 2D path points for the perimeter of the polygon.
|
||||
function polygon_clockwise(path) =
|
||||
let(
|
||||
minx = min(array_subindex(path,0)),
|
||||
minx = min(subindex(path,0)),
|
||||
lowind = search(minx, path, 0, 0),
|
||||
lowpts = select(path, lowind),
|
||||
miny = min(array_subindex(lowpts, 1)),
|
||||
miny = min(subindex(lowpts, 1)),
|
||||
extreme_sub = search(miny, lowpts, 1, 1)[0],
|
||||
extreme = select(lowind,extreme_sub)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user