Fixes assert in scale()

This commit is contained in:
Revar Desmera 2020-03-25 15:31:07 -07:00
parent d4e56a9099
commit 7292250162
2 changed files with 2 additions and 2 deletions

View file

@ -551,7 +551,7 @@ function zrot(a=0, cp=undef, p=undef) = rot(a, cp=cp, p=p);
// #stroke(path,closed=true);
// stroke(scale([1.5,3],p=path),closed=true);
function scale(v=1, p=undef) =
assert(is_vector(v))
assert(is_num(v) || is_vector(v))
assert(is_undef(p) || is_list(p))
let(v = is_num(v)? [v,v,v] : v)
is_undef(p)? (

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,228];
BOSL_VERSION = [2,0,229];
// Section: BOSL Library Version Functions