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

arb:: simplified display of apeirogons

This commit is contained in:
Zeno Rogue
2022-05-01 11:18:39 +02:00
parent 292bb72794
commit d3864a2e2c
5 changed files with 25 additions and 3 deletions

View File

@@ -353,8 +353,17 @@ namespace irr { void generate_floorshapes(); }
void geometry_information::finish_apeirogon(hyperpoint center) {
last->flags |= POLY_APEIROGONAL;
last->she = isize(hpc);
hpcpush(center);
hpcpush(starting_point);
if(arb::apeirogon_simplified_display) {
hyperpoint p = towards_inf(last_point, center, ideal_limit);
hyperpoint q = towards_inf(starting_point, center, ideal_limit);
hpc.push_back(p);
hpc_connect_ideal(p, q);
hpc.push_back(q);
}
else {
hpcpush(center);
hpcpush(starting_point);
}
}
// !siid equals pseudohept(c)