Anchor recursivization
This commit is contained in:
parent
b8c71bef0f
commit
6dc6b5d8e9
8 changed files with 119 additions and 45 deletions
|
@ -112,7 +112,7 @@ const polygon = (config, name, points, outlines, units) => {
|
|||
let poly_index = -1
|
||||
for (const poly_point of poly_points) {
|
||||
const poly_name = `${name}.points[${++poly_index}]`
|
||||
last_anchor = anchor(poly_point, poly_name, points, true, last_anchor)(units)
|
||||
last_anchor = anchor(poly_point, poly_name, points, last_anchor)(units)
|
||||
parsed_points.push(last_anchor.p)
|
||||
}
|
||||
let poly = u.poly(parsed_points)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue