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

This commit is contained in:
Zeno Rogue committed 2018-12-11 22:10:53 +01:00
1 parent 449dd5adaf
commit 460eb19881
21 files changed
+185 -83

No files matched your search

+2 -2
View File
@@ -665,7 +665,7 @@ ld spherity(const transmatrix& V) {
}
bool confusingGeometry() {
return elliptic || quotient || torus;
return elliptic || quotient || euwrap;
}
ld master_to_c7_angle() {
@@ -1476,7 +1476,7 @@ bool do_draw(cell *c, const transmatrix& T) {
if(iz < -M_PI || iz >= M_PI) return false;
}
if(cells_drawn > vid.cells_drawn_limit) return false;
bool usr = vid.use_smart_range || quotient || torus;
bool usr = vid.use_smart_range || quotient || euwrap;
if(usr && cells_drawn >= 50 && !in_smart_range(T)) return false;
if(vid.use_smart_range == 2) setdist(c, 7, c);
return true;