1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-20 09:59:50 +00:00

fixes to projection streamlining

This commit is contained in:
Zeno Rogue
2019-04-29 03:37:27 +02:00
parent be2ac7654a
commit c19ffb3597
6 changed files with 8 additions and 7 deletions

View File

@@ -350,6 +350,7 @@ bool nofps = false;
void draw_radar(bool cornermode) {
dynamicval<eGeometry> g(geometry, gEuclid);
dynamicval<eModel> pm(pmodel, mdText);
initquickqueue();
int rad = vid.radarsize;
@@ -372,7 +373,6 @@ void draw_radar(bool cornermode) {
queueline(atscreenpos(cx+rad * r.h[0], cy - rad * r.h[2]/3 + rad * r.h[1]*2/3, 0)*C0, atscreenpos(cx+rad*r.h[0], cy - rad*r.h[2]/3, 0)*C0, r.line, -1);
}
dynamicval<eModel> pm(pmodel, mdText);
quickqueue();
for(auto& r: radarpoints)