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

irr:: Orb of the Sword and Kraken.

This commit is contained in:
Zeno Rogue
2018-07-16 21:41:59 +02:00
parent 58d8742cf9
commit 4d61f2169e
7 changed files with 24 additions and 17 deletions

View File

@@ -326,13 +326,16 @@ bool step(int delta) {
return false;
}
ld scale;
void compute_geometry() {
if(irr::on) {
ld scal = sqrt(isize(cells_of_heptagon) * 1. / sc);
crossf *= scal;
hepvdist *= scal;
rhexf *= scal;
scale = sqrt(isize(cells_of_heptagon) * 1. / sc);
crossf *= scale;
hepvdist *= scale;
rhexf *= scale;
}
else scale = 1;
}
bool draw_cell_schematics(cell *c, transmatrix V) {