mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-14 01:44:00 +02:00
Fixed bug in offset(), failure for r=0
This commit is contained in:
@@ -702,6 +702,7 @@ function offset(
|
|||||||
],
|
],
|
||||||
steps = is_def(delta) ? [] : [
|
steps = is_def(delta) ? [] : [
|
||||||
for(i=[0:len(goodsegs)-1])
|
for(i=[0:len(goodsegs)-1])
|
||||||
|
r==0 ? 0 :
|
||||||
ceil(
|
ceil(
|
||||||
abs(r)*vector_angle(
|
abs(r)*vector_angle(
|
||||||
select(goodsegs,i-1)[1]-goodpath[i],
|
select(goodsegs,i-1)[1]-goodpath[i],
|
||||||
|
Reference in New Issue
Block a user