1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-06-01 10:22:11 +00:00

make sure that mirror placement treats vertices differently

This commit is contained in:
Zeno Rogue
2018-08-30 16:05:52 +02:00
parent 76c303f80a
commit d5f3c3776a
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -1205,6 +1205,10 @@ int degree(heptagon *h) {
return isize(current.adjacent[id_of(h)]);
}
bool is_vertex(heptagon *h) {
return id_of(h) >= 2 * current.N;
}
int valence() {
if(PURE) return arcm::current.N;
if(BITRUNCATED) return 3;