1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixed some bugs

This commit is contained in:
Zeno Rogue 2017-10-27 20:09:59 +02:00
parent 849925962c
commit 967eb79d69

View File

@ -42,7 +42,11 @@ void precalc() {
hexshift = 0;
if(euclid) return;
if(euclid) {
dynamicval<eGeometry> g(geometry, gNormal);
precalc();
return;
}
ld fmin = 1, fmax = 2;
@ -83,7 +87,7 @@ void precalc() {
heptmove[d] = spin(-d * ALPHA) * xpush(tessf) * spin(M_PI);
hexshift = 0;
if(!AT8 && !purehepta)
if(AT8 && !purehepta)
hexshift = ALPHA/2 + ALPHA * ((S7-1)/2) + M_PI;
for(int d=0; d<S7; d++)