mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Fixed tilt() recursion error.
This commit is contained in:
parent
63283b1122
commit
3a0bfac6c6
@ -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_undef(cp) || is_vector(cp), "'cp' must be a vector.")
|
||||
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);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user