1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

3d:: set geometry parameters in sphere3

This commit is contained in:
?
2019-02-25 13:17:53 +01:00
committed by Zeno Rogue
parent f743a46010
commit c279e91600

View File

@@ -88,6 +88,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;
for(int p=0; p<100; p++) {