mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
sph_in_low function
This commit is contained in:
1 parent
a20ee8e716
commit
6473ff8b45
3 files changed
+6
-2
No files matched your search
@@ -1143,6 +1143,10 @@ EX namespace geom3 {
|
||||
return ggclass() == gcHyperbolic && mgclass() == gcSphere;
|
||||
}
|
||||
|
||||
EX bool sph_in_low() {
|
||||
return mgclass() == gcSphere && among(ggclass(), gcHyperbolic, gcEuclid);
|
||||
}
|
||||
|
||||
EX bool in_product() {
|
||||
return ggclass() == gcProduct;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user