1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

rewritten the embeddings more nicely

This commit is contained in:
Zeno Rogue
2023-01-27 00:27:10 +01:00
parent 8744420504
commit 85dffdbeff
28 changed files with 1148 additions and 1090 deletions

View File

@@ -1058,12 +1058,12 @@ EX array<heptagon*, 3> get_masters(cell *c) {
EX void swap_vertices() {
for(auto& c: cells) {
swapmatrix(c.p);
swappoint(c.p);
swapmatrix(c.pusher);
swapmatrix(c.rpusher);
for(auto& jp: c.jpoints) swapmatrix(jp);
for(auto& jp: c.jpoints) swappoint(jp);
for(auto& rm: c.relmatrices) swapmatrix(rm.second);
for(auto& v: c.vertices) swapmatrix(v);
for(auto& v: c.vertices) swappoint(v);
}
}