mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-19 00:51:21 +02:00
remove echo in trunc_ribs_vnf
This commit is contained in:
@@ -3592,8 +3592,7 @@ function texture(tex, n, border, gap, roughness, inset) =
|
|||||||
assert(is_undef(n), str(tex,__vnf_no_n_mesg))
|
assert(is_undef(n), str(tex,__vnf_no_n_mesg))
|
||||||
let(
|
let(
|
||||||
border = default(border,1/4)*2,
|
border = default(border,1/4)*2,
|
||||||
gap = default(gap,1/4),
|
gap = default(gap,1/4)
|
||||||
f=echo(gap, border, gap+border, gap+2*border)
|
|
||||||
)
|
)
|
||||||
assert(all_nonnegative([border,gap]), "trunc_ribs_vnf texture requires gap>=0 and border>=0")
|
assert(all_nonnegative([border,gap]), "trunc_ribs_vnf texture requires gap>=0 and border>=0")
|
||||||
assert(gap+border <= 1, "trunc_ribs_vnf texture requires that gap+2*border<=1")
|
assert(gap+border <= 1, "trunc_ribs_vnf texture requires that gap+2*border<=1")
|
||||||
|
Reference in New Issue
Block a user