1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

bitruncated Archimedean tilings

This commit is contained in:
Zeno Rogue
2018-08-29 04:28:34 +02:00
parent 31fc90e6b8
commit 020d9679bd
5 changed files with 92 additions and 22 deletions

View File

@@ -236,8 +236,14 @@ void drawLightning(const transmatrix& V) {
ld displayspin(cell *c, int d) {
if(archimedean) {
auto& t1 = arcm::current.get_triangle(c->master, d-1);
return -(t1.first + M_PI / c->type);
if(PURE) {
auto& t1 = arcm::current.get_triangle(c->master, d-1);
return -(t1.first + M_PI / c->type);
}
else { /* BITRUNCATED */
auto& t1 = arcm::current.get_triangle(c->master, d);
return -t1.first;
}
}
else if(IRREGULAR) {
auto id = irr::cellindex[c];