mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 05:57:37 +00:00
'faces per vertex' and 'size of the world' now display correct values in all geometries; 'sides per face' removed
This commit is contained in:
@@ -1151,6 +1151,7 @@ string archimedean_tiling::world_size() {
|
||||
denom = denom / g * f;
|
||||
}
|
||||
int anom = 0, adenom = 1;
|
||||
if(BITRUNCATED) anom = 1, adenom = 1;
|
||||
for(int f: faces) {
|
||||
int g = gcd(adenom, f);
|
||||
anom = (anom * f + adenom) / g;
|
||||
|
||||
Reference in New Issue
Block a user