mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-05 17:30:16 +00:00
product:: lands in S2xE
This commit is contained in:
@@ -483,7 +483,8 @@ EX int getHemisphere(heptagon *h, int which) {
|
||||
|
||||
EX int getHemisphere(cell *c, int which) {
|
||||
if(euwrap) return 0;
|
||||
if(WDIM == 3) {
|
||||
if(hybri) { auto d = hybrid::get_where(c); return PIU(getHemisphere(d.first, which)); }
|
||||
if(WDIM == 3 && !hybri) {
|
||||
hyperpoint p = tC0(calc_relative_matrix(c, currentmap->gamestart(), C0));
|
||||
return int(p[which] * 6 + 10.5) - 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user