mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-02 14:04:30 +00:00
replaced 'archimedean' with 'arcm::in()'
This commit is contained in:
1 parent
d529449999
commit
f772f9b7fd
28 files changed
+138
-136
No files matched your search
@@ -608,7 +608,7 @@ EX void buildRug() {
|
||||
cell *c = p.first;
|
||||
rugpoint *v = p.second;
|
||||
|
||||
if(archimedean || (euclid && quotient)) {
|
||||
if(arcm::in() || (euclid && quotient)) {
|
||||
rugpoint *p[MAX_EDGE+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++) addTriangle(v, p[j], p[(j+1) % c->type]);
|
||||
|
||||
Reference in new issue
Block a user