1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 11:37:55 +00:00

tetrahedral-octahedral honeycomb

This commit is contained in:
Zeno Rogue
2025-04-07 22:52:38 +02:00
parent b31b987aa7
commit 15c3089fce
8 changed files with 85 additions and 13 deletions

View File

@@ -1696,6 +1696,11 @@ EX namespace hybrid {
});
EX vector<pair<int, cell*>> gen_sample_list() {
if(geometry == gOctTet3) {
auto c = centerover;
if(currentmap->shvid(c)) c = c->cmove(0);
return {make_pair(0, c), make_pair(8, c->cmove(4)), make_pair(12, c->cmove(0)), make_pair(16, nullptr)};
}
if(!mhybrid && WDIM != 2 && PURE)
return {make_pair(0, centerover), make_pair(centerover->type, nullptr)};
vector<pair<int, cell*>> result;