mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
vec3 spin values failed assert.
This commit is contained in:
parent
0a741b36d1
commit
b22cd9e1d8
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
// 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) =
|
function attach_transform(anchor=CENTER, spin=0, orient=UP, geom, p) =
|
||||||
assert(is_string(anchor) || is_vector(anchor))
|
assert(is_string(anchor) || is_vector(anchor))
|
||||||
assert(is_num(spin))
|
assert(is_num(spin) || is_vector(spin,3))
|
||||||
assert(is_vector(orient))
|
assert(is_vector(orient))
|
||||||
let(
|
let(
|
||||||
two_d = attach_geom_2d(geom),
|
two_d = attach_geom_2d(geom),
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,241];
|
BOSL_VERSION = [2,0,242];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue