1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-19 06:44:08 +00:00

added missing declarations to hyper.h

This commit is contained in:
Zeno Rogue 2018-08-17 16:53:57 +02:00
parent f5f218b7f9
commit f60df73004
2 changed files with 6 additions and 1 deletions

View File

@ -336,7 +336,7 @@ hyperpoint get_horopoint(ld y, ld x) {
return xpush(-y) * binary::parabolic(x) * C0; return xpush(-y) * binary::parabolic(x) * C0;
} }
hyperpoint get_corner_position(cell *c, int cid, ld cf = 3) { hyperpoint get_corner_position(cell *c, int cid, ld cf) {
if(gp::on) return gp::get_corner_position(c, cid, cf); if(gp::on) return gp::get_corner_position(c, cid, cf);
if(irr::on) { if(irr::on) {
auto& vs = irr::cells[irr::cellindex[c]]; auto& vs = irr::cells[irr::cellindex[c]];

View File

@ -3780,4 +3780,9 @@ namespace synt {
void create_adjacent(heptagon*, int); void create_adjacent(heptagon*, int);
int fix(heptagon *h, int spin); int fix(heptagon *h, int spin);
} }
hyperpoint get_warp_corner(cell *c, int cid);
hyperpoint get_corner_position(cell *c, int cid, ld cf = 3);
} }