1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 17:07:40 +00:00

implemented new geometries: cylinder and (only one for now) Mobius band

This commit is contained in:
Zeno Rogue
2018-11-27 02:32:11 +01:00
parent 449dd5adaf
commit 460eb19881
21 changed files with 185 additions and 83 deletions

View File

@@ -575,7 +575,7 @@ void buildRug() {
need_mouseh = true;
good_shape = false;
if(torus) {
if(euwrap) {
good_shape = true;
buildTorusRug();
return;
@@ -812,7 +812,7 @@ int divides = 0;
bool stop = false;
bool subdivide_further() {
if(torus) return false;
if(euwrap) return false;
return isize(points) * 4 < vertex_limit;
}
@@ -991,7 +991,7 @@ void addNewPoints() {
if(anticusp_factor && detect_cusps())
return;
if(torus || qvalid == isize(points)) {
if(euwrap || qvalid == isize(points)) {
subdivide();
return;
}