fixed some minor issues with HyperRogue's 3D

This commit is contained in:
Zeno Rogue committed 2018-11-18 18:26:56 +01:00
1 parent d935febf09
commit e7b90fdb05
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ void add1(const hyperpoint& H) {
int spherespecial, spherephase;
bool is_behind(const hyperpoint& H) {
return pmodel == mdDisk && vid.alpha + H[2] <= BEHIND_LIMIT;
return pmodel == mdDisk && (hyperbolic ? H[2] >= 0 : true) && vid.alpha + H[2] <= BEHIND_LIMIT;
}
hyperpoint be_just_on_view(const hyperpoint& H1, const hyperpoint &H2) {