mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
fixed arcm geometry setting
This commit is contained in:
parent
bcbd5808f9
commit
08b72c52b3
@ -425,7 +425,12 @@ void archimedean_tiling::compute_geometry() {
|
||||
set_flag(ginf[gArchimedean].flags, qCLOSED, get_class() == gcSphere);
|
||||
|
||||
if(geom3::ginf_backup.size()) {
|
||||
geom3::ginf_backup[gArchimedean].g = geom3::ginf_backup[gSphere].g;
|
||||
if(get_geometry().kind == gcSphere)
|
||||
geom3::ginf_backup[gArchimedean].g = geom3::ginf_backup[gSphere].g;
|
||||
if(get_geometry().kind == gcEuclid)
|
||||
geom3::ginf_backup[gArchimedean].g = geom3::ginf_backup[gNormal].g;
|
||||
if(get_geometry().kind == gcHyperbolic)
|
||||
geom3::ginf_backup[gArchimedean].g = geom3::ginf_backup[gEuclid].g;
|
||||
if(geom3::flipped) swap(geom3::ginf_backup[gArchimedean].g, ginf[gArchimedean].g);
|
||||
set_flag(ginf[gArchimedean].flags, qCLOSED, get_class() == gcSphere);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user