Fixed calls to vmul() with heteerogenous vector sizes.

This commit is contained in:
Garth Minette
2020-08-02 23:23:50 -07:00
parent 59aebd33ce
commit e56f953c1c
8 changed files with 26 additions and 24 deletions

View File

@@ -785,7 +785,7 @@ function rect(size=1, center, rounding=0, chamfer=0, anchor, spin=0) =
assert(is_num(rounding) || len(rounding)==4)
let(
size = is_num(size)? [size,size] : point2d(size),
anchor = get_anchor(anchor, center, FRONT+LEFT, FRONT+LEFT),
anchor = point2d(get_anchor(anchor, center, FRONT+LEFT, FRONT+LEFT)),
complex = rounding!=0 || chamfer!=0
)
(rounding==0 && chamfer==0)? let(