mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 09:27:40 +00:00
fixed sidewall sorting in Euclidean
This commit is contained in:
@@ -2310,6 +2310,7 @@ EX void quickqueue() {
|
|||||||
ld xintval(const shiftpoint& h) {
|
ld xintval(const shiftpoint& h) {
|
||||||
if(sphere_flipped) return -h.h[2];
|
if(sphere_flipped) return -h.h[2];
|
||||||
if(hyperbolic) return -h.h[2];
|
if(hyperbolic) return -h.h[2];
|
||||||
|
if(euclid) return -hypot(h.h[0], h.h[1]);
|
||||||
return -intval(h.h, C0);
|
return -intval(h.h, C0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user