mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-24 06:26:02 +00:00
reg3:: hrmap_reg3_rule (alt not working correctly yet)
This commit is contained in:
6
cell.cpp
6
cell.cpp
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user