1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixed boundary drawing with camera_angle

This commit is contained in:
Zeno Rogue 2018-11-11 12:21:37 +01:00
parent f1b395ce52
commit a00e405681

View File

@ -1111,7 +1111,7 @@ transmatrix atscreenpos(ld x, ld y, ld size) {
} }
void circle_around_center(ld radius, color_t linecol, color_t fillcol, PPR prio) { void circle_around_center(ld radius, color_t linecol, color_t fillcol, PPR prio) {
if(among(pmodel, mdDisk, mdEquiarea, mdEquidistant, mdFisheye) && !(pmodel == mdDisk && hyperbolic && vid.alpha <= -1)) { if(among(pmodel, mdDisk, mdEquiarea, mdEquidistant, mdFisheye) && !(pmodel == mdDisk && hyperbolic && vid.alpha <= -1) && vid.camera_angle == 0) {
hyperpoint ret; hyperpoint ret;
applymodel(xpush0(radius), ret); applymodel(xpush0(radius), ret);
ld r = hypot2(ret); ld r = hypot2(ret);