adjusted rogueviz

This commit is contained in:
Zeno Rogue 2019-11-30 18:52:24 +01:00
parent 0cc24cf982
commit ab3992f58f
5 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ ld widthfactor = 5;
ld label_scale = 1;
void fundamental_marker() {
if(!funmode || !(quotient || euwrap || elliptic)) return;
if(!funmode || !quotient) return;
same.clear();
gm.clear();

View File

@ -400,7 +400,7 @@ struct hrmap_grigorchuk : hrmap_standard {
}
}
transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
transmatrix relative_matrix(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
if(gmatrix0.count(h2->c7) && gmatrix0.count(h1->c7))
return inverse(gmatrix0[h1->c7]) * gmatrix0[h2->c7];
return Id;

View File

@ -418,14 +418,14 @@ void buildcellcrawler(cell *c, cellcrawler& cr, int dir) {
map<int, cellcrawler> scc;
pair<int, int> get_cellcrawler_id(cell *c) {
if(among(geometry, gZebraQuotient, gMinimal, gField435, gField534) || (euwrap && !fulltorus) || IRREGULAR || (GDIM == 3 && sphere)) {
if(among(geometry, gZebraQuotient, gMinimal, gField435, gField534) || (euclid && quotient && !bounded) || IRREGULAR || (GDIM == 3 && sphere)) {
// Zebra Quotient does exhibit some symmetries,
// but these are so small anyway that it is safer to just build
// a crawler for every neuron
return make_pair(neuronId(*getNeuronSlow(c)), 0);
// not yet implemented for cylinder
}
if(fulltorus && (torusconfig::tmflags() & torusconfig::TF_KLEIN))
if(euclid && bounded && PURE && nonorientable)
return make_pair(cell_to_pair(c).second * 2 + ctof(c), 0);
int id = 0, dir = 0;
#if CAP_GP

View File

@ -34,7 +34,7 @@ color_t rcolor() {
void set_cell(cell *c) {
if(hybri) {
cell *c1 = hybrid::get_where(c).first;
if(c1->land != laHive) hybrid::in_underlying_map([&] { set_cell(c1); });
if(c1->land != laHive) hybrid::in_underlying_geometry([&] { set_cell(c1); });
c->land = c1->land;
c->wall = c1->wall;
c->landparam = c1->landparam;

View File

@ -1304,7 +1304,7 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
// if(hilite) ghilite = true;
bool multidraw = quotient || euwrap;
bool multidraw = quotient;
if(ei->lastdraw < frameid || multidraw) {
ei->lastdraw = frameid;