1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 14:17:10 +00:00

embeddings:: implemented the cylinderHE embedding

This commit is contained in:
Zeno Rogue
2023-01-27 11:16:34 +01:00
parent 9e2059e72b
commit d7fe4af1e9
3 changed files with 42 additions and 1 deletions

View File

@@ -1374,6 +1374,10 @@ EX namespace hybrid {
dynamicval<eGeometryClass> dgc(cginf.g.kind, cginf.g.sig[2] < 0 ? gcHyperbolic : gcSphere);
return f();
}
if(cgi.emb->is_cylinder()) {
dynamicval<eGeometryClass> dgc(cginf.g.kind, cginf.g.sig[2] < 0 ? gcHyperbolic : gcSphere);
return f();
}
geom3::light_flip(true);
finalizer ff([] { geom3::light_flip(false); });
return f();