reg3:: hrmap_reg3_rule (alt not working correctly yet)

This commit is contained in:
Zeno Rogue
2020-01-28 17:58:55 +01:00
parent 891fd3b0aa
commit 00262e8f6a
7 changed files with 235 additions and 2 deletions
+5 -1
View File
@@ -145,7 +145,11 @@ EX cell *newCell(int type, heptagon *master) {
EX hrmap *currentmap;
EX vector<hrmap*> allmaps;
EX hrmap *newAltMap(heptagon *o) { return new hrmap_hyperbolic(o); }
EX hrmap *newAltMap(heptagon *o) {
if(reg3::geometry_has_tree_structure())
return reg3::new_alt_map(o);
return new hrmap_hyperbolic(o);
}
// --- hyperbolic geometry ---
EX heptagon* hyperbolic_origin() {