mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-17 01:14:47 +02:00
fix conoid attachment bug
This commit is contained in:
@@ -3967,7 +3967,7 @@ function _find_anchor(anchor, geom)=
|
|||||||
botdata = solve_ellipse(r1,point2d(anch)),
|
botdata = solve_ellipse(r1,point2d(anch)),
|
||||||
topdata = solve_ellipse(r2,point2d(anch)),
|
topdata = solve_ellipse(r2,point2d(anch)),
|
||||||
bot = point3d(botdata[0], -length/2),
|
bot = point3d(botdata[0], -length/2),
|
||||||
top = point3d(topdata[0], length/2),
|
top = move(shift,point3d(topdata[0], length/2)),
|
||||||
tangent = lerp(botdata[1],topdata[1],u),
|
tangent = lerp(botdata[1],topdata[1],u),
|
||||||
normal = [-tangent.y,tangent.x],
|
normal = [-tangent.y,tangent.x],
|
||||||
axy = unit(point2d(anch),[0,0]),
|
axy = unit(point2d(anch),[0,0]),
|
||||||
|
Reference in New Issue
Block a user