1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 01:04:07 +02:00

sigma value might be useful

This commit is contained in:
Justin Lin
2020-03-22 14:52:13 +08:00
parent bfc1bf762c
commit 198bd33fc2

View File

@@ -21,7 +21,7 @@ function interpolated_pt(p0, p1, sigma) =
v = p1 - p0,
t = (sigma - z0) / v[2]
)
[x0 + v[0] * t, y0 + v[1] * t];
[x0 + v[0] * t, y0 + v[1] * t, sigma];
function _case1_isolines(cell_pts, sigma) = [
[interpolated_pt(cell_pts[0], cell_pts[1], sigma), interpolated_pt(cell_pts[0], cell_pts[3], sigma)]