mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 00:39:56 +02:00
Minor radius correction.
This commit is contained in:
@@ -3390,8 +3390,8 @@ function _make_octa_sphere(r) =
|
|||||||
) [
|
) [
|
||||||
for (u = [0:1:ll]) [
|
for (u = [0:1:ll]) [
|
||||||
for (v = [0:1:u])
|
for (v = [0:1:u])
|
||||||
let(c = u-v, r = ll-v)
|
let(col = u-v, row = ll-v)
|
||||||
tri[r][c]
|
tri[row][col]
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
pts2b = rot_tri(rot_tri(pts2)),
|
pts2b = rot_tri(rot_tri(pts2)),
|
||||||
@@ -3404,7 +3404,7 @@ function _make_octa_sphere(r) =
|
|||||||
p2 = pts2b[u][v],
|
p2 = pts2b[u][v],
|
||||||
p3 = pts3b[u][v],
|
p3 = pts3b[u][v],
|
||||||
mean = (p1 + p2 + p3) / 3
|
mean = (p1 + p2 + p3) / 3
|
||||||
) mean
|
) unit(mean) * r
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
octant_vnf = vnf_tri_array(pts),
|
octant_vnf = vnf_tri_array(pts),
|
||||||
|
Reference in New Issue
Block a user