From c279e9160077294ac3ec283bc92760a7b752b689 Mon Sep 17 00:00:00 2001 From: ? Date: Mon, 25 Feb 2019 13:17:53 +0100 Subject: [PATCH] 3d:: set geometry parameters in sphere3 --- geometry.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index 97212094..7787000f 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -87,6 +87,14 @@ void precalc() { } goto finish; } + + if(sphere && DIM == 3) { + rhexf = hexf = 0.378077; + crossf = hcrossf = 0.620672; + tessf = 1.090550; + hexhexdist = 0.566256; + goto finish; + } fmin = 0, fmax = hyperbolic ? 10 : 3;