1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 03:47:58 +00:00

fake twisted Archimedean Euclidean should work

This commit is contained in:
Zeno Rogue
2024-06-29 13:04:32 +02:00
parent 0f8be6d9bc
commit 11c7d707f4
3 changed files with 16 additions and 6 deletions

View File

@@ -746,7 +746,7 @@ void geometry_information::prepare_basics() {
#if CAP_ARCM
if(arcm::in()) {
auto& ac = arcm::current_or_fake();
if(fake::in()) ac = arcm::current;
if(fake::in_ext()) ac = arcm::current;
ac.compute_geometry();
crossf = hcrossf7 * ac.scale();
hexvdist = ac.scale() * .5;
@@ -882,7 +882,7 @@ void geometry_information::prepare_basics() {
}
if(mtwisted && underlying_euclid) {
single_step = 1;
if(ug == gArchimedean) plevel = arcm::current.dual_tile_area();
if(ug == gArchimedean) plevel = arcm::current_or_fake().dual_tile_area();
if(ug == gEuclid && PURE) plevel = sqrt(3)/4.;
if(ug == gEuclidSquare && PURE) plevel = 1;
if(ug == gEuclidSquare && BITRUNCATED) plevel = 0.25;