mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fixed tilt() recursion error.
This commit is contained in:
parent
63283b1122
commit
3a0bfac6c6
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ function tilt(to, cp, reverse=false, p=_NO_ARG) =
|
||||||
assert(is_vector(to, zero=false), "'to' must be a non-zero vector.")
|
assert(is_vector(to, zero=false), "'to' must be a non-zero vector.")
|
||||||
assert(is_undef(cp) || is_vector(cp), "'cp' must be a vector.")
|
assert(is_undef(cp) || is_vector(cp), "'cp' must be a vector.")
|
||||||
assert(is_bool(reverse))
|
assert(is_bool(reverse))
|
||||||
let( m = tilt(to=to, cp=cp, reverse=reverse) )
|
let( m = rot(from=UP, to=to, cp=cp, reverse=reverse) )
|
||||||
p==_NO_ARG ? m : apply(m, p);
|
p==_NO_ARG ? m : apply(m, p);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue