mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
hemisphere consistent with hyperboloid
This commit is contained in:
parent
bcf250a9fb
commit
4685c3e733
@ -360,7 +360,7 @@ EX int get_side(const hyperpoint& H) {
|
|||||||
if(pmodel == mdHemisphere && !sphere) {
|
if(pmodel == mdHemisphere && !sphere) {
|
||||||
hyperpoint res;
|
hyperpoint res;
|
||||||
applymodel(shiftless(H), res);
|
applymodel(shiftless(H), res);
|
||||||
return res[2] < 0 ? -1 : 1;
|
return res[2] < 0 ? 1 : -1;
|
||||||
}
|
}
|
||||||
if(pmodel == mdHemisphere && sphere) {
|
if(pmodel == mdHemisphere && sphere) {
|
||||||
auto H1 = H;
|
auto H1 = H;
|
||||||
|
Loading…
Reference in New Issue
Block a user