fisheye and ball models in nonisotropic spaces

This commit is contained in:
Zeno Rogue
2019-10-05 12:34:14 +02:00
parent 08108c342c
commit cfc36c7bda
5 changed files with 43 additions and 15 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ void add1(const hyperpoint& H) {
}
bool is_behind(const hyperpoint& H) {
return pmodel == mdDisk && (hyperbolic ? H[2] >= 0 : true) && vid.alpha + H[2] <= BEHIND_LIMIT;
return pmodel == mdDisk && (hyperbolic ? H[2] >= 0 : true) && (nonisotropic ? false : vid.alpha + H[2] <= BEHIND_LIMIT);
}
hyperpoint be_just_on_view(const hyperpoint& H1, const hyperpoint &H2) {