aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 12:55:14 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 12:55:14 +0200
commitda91e60416b5efd77991480e39043128ad4e2501 (patch)
tree634faee5ce691389542720eb92353ac36284ac8c /lib
parent5b9019fe34ca03e36442fcb6c027dd8df36ed81b (diff)
Fixed utils
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils.scad b/lib/utils.scad
index d849636..79bccfe 100644
--- a/lib/utils.scad
+++ b/lib/utils.scad
@@ -1,7 +1,7 @@
-function circ_rad(size) = size / sqrt(2);
+function circ_rad(size) = size * sqrt(3) / 2;
-function s2s_d4(size) = circ_rad(size)*2/sqrt(6);
+function s2s_d4(size) = circ_rad(size)*4/sqrt(6);
function s2s_d6(size) = size;