mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-16 06:37:38 +00:00
rewritten the embeddings more nicely
This commit is contained in:
@@ -1370,7 +1370,7 @@ EX namespace hybrid {
|
||||
template<class T> auto in_underlying_geometry(const T& f) -> decltype(f()) {
|
||||
if(!mhybrid && !gproduct) return f();
|
||||
if(embedded_plane) {
|
||||
if(geom3::euc_in_product()) {
|
||||
if(cgi.emb->is_euc_in_product()) {
|
||||
dynamicval<eGeometryClass> dgc(cginf.g.kind, cginf.g.sig[2] < 0 ? gcHyperbolic : gcSphere);
|
||||
return f();
|
||||
}
|
||||
|
Reference in New Issue
Block a user