vec3 spin values failed assert.

This commit is contained in:
Revar Desmera 2020-03-29 23:44:22 -07:00
parent 0a741b36d1
commit b22cd9e1d8
2 changed files with 2 additions and 2 deletions

View file

@ -307,7 +307,7 @@ function attach_geom_size(geom) =
// p = If given as a VNF, path, or point, applies the affine3d transformation matrix to it and returns the result.
function attach_transform(anchor=CENTER, spin=0, orient=UP, geom, p) =
assert(is_string(anchor) || is_vector(anchor))
assert(is_num(spin))
assert(is_num(spin) || is_vector(spin,3))
assert(is_vector(orient))
let(
two_d = attach_geom_2d(geom),

View file

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