mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 05:07:39 +00:00
fixup degree
This commit is contained in:
3
hyper.h
3
hyper.h
@@ -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;
|
||||||
|
Reference in New Issue
Block a user