Normalised dodecahedron to unit radius

broken-cursed-links
Mike Lynch 2024-04-25 11:07:21 +10:00
parent 39fe6e5e40
commit f99901f1b0
1 changed files with 1 additions and 0 deletions

View File

@ -715,6 +715,7 @@ function make_dodecahedron_vertices() {
{ x: -phi, y: phiinv, z:0, w: 0 , label: 4}, { x: -phi, y: phiinv, z:0, w: 0 , label: 4},
{ x: -phi, y: -phiinv, z:0, w: 0 , label: 2}, { x: -phi, y: -phiinv, z:0, w: 0 , label: 2},
]; ];
scale_nodes(nodes, 1 / Math.sqrt(3));
index_nodes(nodes); index_nodes(nodes);
return nodes; return nodes;
} }