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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user