mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 00:09:37 +00:00
small fix
This commit is contained in:
parent
2670ce0c95
commit
846de460fd
1 changed files with 2 additions and 2 deletions
|
@ -2978,7 +2978,7 @@ module attachable(
|
|||
assert(is_undef(anchor) || is_vector(anchor) || is_string(anchor), str("Invalid anchor: ",anchor))
|
||||
assert(is_finite(spin), str("Invalid spin: ",spin))
|
||||
assert(is_undef(orient) || is_vector(orient,3), str("Invalid orient: ",orient));
|
||||
assert(in_list(axis,[UP,RIGHT,BACK]), "axis must be a positive coordinate direction, either UP, BACK or RIGHT")
|
||||
assert(in_list(axis,[UP,RIGHT,BACK]), "axis must be a positive coordinate direction, either UP, BACK or RIGHT");
|
||||
anchor = first_defined([anchor, CENTER]);
|
||||
spin = default(spin, 0);
|
||||
orient = is_def($anchor_override)? UP : default(orient, UP);
|
||||
|
@ -3136,7 +3136,7 @@ function reorient(
|
|||
p=undef
|
||||
) =
|
||||
assert(is_undef(anchor) || is_vector(anchor) || is_string(anchor), str("Invalid anchor: ",anchor))
|
||||
assert(is_finite(spin) str("Invalid spin: ",spin))
|
||||
assert(is_finite(spin), str("Invalid spin: ",spin))
|
||||
assert(is_undef(orient) || is_vector(orient,3), str("Invalid orient: ",orient))
|
||||
let(
|
||||
anchor = default(anchor, CENTER),
|
||||
|
|
Loading…
Reference in a new issue