1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

standard draw algorithm no longer recursive; prettier gp::drawrec

This commit is contained in:
Zeno Rogue
2018-11-23 23:45:16 +01:00
parent 62a5c0abac
commit b4671e4d50
3 changed files with 62 additions and 53 deletions

View File

@@ -61,7 +61,7 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
auto bak = gp::draw_li;
swap(gmatrix, gmatrix0);
just_gmatrix = true;
drawrec(viewctr, hsOrigin, Id);
drawStandard();
just_gmatrix = false;
swap(gmatrix, gmatrix0);
gp::draw_li = bak;