mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed Rug in arb::
This commit is contained in:
parent
1914a3c1bc
commit
b53e85d1ff
2
rug.cpp
2
rug.cpp
@ -533,7 +533,7 @@ EX void buildRug() {
|
|||||||
cell *c = p.first;
|
cell *c = p.first;
|
||||||
rugpoint *v = p.second;
|
rugpoint *v = p.second;
|
||||||
|
|
||||||
if(arcm::in() || (euclid && quotient)) {
|
if(arcm::in() || arb::in() || (euclid && quotient)) {
|
||||||
vector<rugpoint*> p(c->type+1);
|
vector<rugpoint*> p(c->type+1);
|
||||||
for(int j=0; j<c->type; j++) p[j] = findOrAddRugpoint(ggmatrix(c) * get_corner_position(c, j), v->dist);
|
for(int j=0; j<c->type; j++) p[j] = findOrAddRugpoint(ggmatrix(c) * get_corner_position(c, j), v->dist);
|
||||||
for(int j=0; j<c->type; j++) addTriangle(v, p[j], p[(j+1) % c->type]);
|
for(int j=0; j<c->type; j++) addTriangle(v, p[j], p[(j+1) % c->type]);
|
||||||
|
Loading…
Reference in New Issue
Block a user