mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-14 18:18:05 +00:00
fixed hyp_in_noniso to keep the correct orientation
This commit is contained in:
@@ -949,7 +949,7 @@ EX void swapmatrix(hyperpoint& h) {
|
|||||||
if(cgclass == gcNIH) hx /= log(3);
|
if(cgclass == gcNIH) hx /= log(3);
|
||||||
if(cgclass == gcSolN) hx /= log(3);
|
if(cgclass == gcSolN) hx /= log(3);
|
||||||
ld hy = h[1] * 2;
|
ld hy = h[1] * 2;
|
||||||
h = point31(0, hy, hx);
|
h = point31(0, -hy, hx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
swap(h[2], h[3]);
|
swap(h[2], h[3]);
|
||||||
|
|||||||
Reference in New Issue
Block a user