1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixup degree

This commit is contained in:
Zeno Rogue 2019-05-05 17:36:00 +02:00
parent e4b4b052ed
commit c3e8e513a9

View File

@ -628,6 +628,7 @@ struct cell : gcell {
// do not add any fields after connection_table (see tailored_alloc) // do not add any fields after connection_table (see tailored_alloc)
}; };
/*
namespace arcm { int degree(heptagon *h); int valence(); } namespace arcm { int degree(heptagon *h); int valence(); }
int heptagon::degree() { int heptagon::degree() {
@ -635,7 +636,7 @@ int heptagon::degree() {
if(archimedean) return arcm::degree(this); else if(archimedean) return arcm::degree(this); else
#endif #endif
return S7; return S7;
} } */
typedef walker<heptagon> heptspin; typedef walker<heptagon> heptspin;
typedef walker<cell> cellwalker; typedef walker<cell> cellwalker;