mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-30 07:17:03 +00:00
fixed confusion in 3D elliptic spaces
This commit is contained in:
parent
d0ef1c7578
commit
29d1427154
4
reg3.cpp
4
reg3.cpp
@ -887,7 +887,9 @@ EX namespace reg3 {
|
|||||||
dynamicval<hrmap*> cm(currentmap, binary_map);
|
dynamicval<hrmap*> cm(currentmap, binary_map);
|
||||||
T = binary_map->relative_matrix(p2.first, p1.first);
|
T = binary_map->relative_matrix(p2.first, p1.first);
|
||||||
}
|
}
|
||||||
return inverse(p1.second) * T * p2.second;
|
T = inverse(p1.second) * T * p2.second;
|
||||||
|
if(elliptic && T[LDIM][LDIM] < 0) T = centralsym * T;
|
||||||
|
return T;
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<hyperpoint> get_vertices(cell* c) override {
|
vector<hyperpoint> get_vertices(cell* c) override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user