1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 22:12:59 +00:00

synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too

This commit is contained in:
Zeno Rogue
2018-08-19 00:25:43 +02:00
parent b186b9d1bb
commit 7bae01c168
7 changed files with 128 additions and 391 deletions

View File

@@ -52,12 +52,10 @@ void precalc() {
int vertexdegree = S6/2;
ld fmin, fmax;
if(syntetic) {
synt::prepare();
return;
}
if(syntetic)
ginf[gSyntetic].cclass = gcHyperbolic;
if(euclid) {
if(euclid) {
// dynamicval<eGeometry> g(geometry, gNormal);
// precalc(); }
// for(int i=0; i<S84; i++) spinmatrix[i] = spin(i * M_PI / S42);
@@ -175,6 +173,7 @@ void precalc() {
gp::compute_geometry();
irr::compute_geometry();
if(syntetic) synt::prepare();
}
transmatrix ddi(ld dir, ld dist) {