1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

new projection: polar coordinates

This commit is contained in:
Zeno Rogue
2024-02-22 01:16:43 +01:00
parent 9a590ecc42
commit 9ce5c63708
4 changed files with 30 additions and 2 deletions

View File

@@ -1975,7 +1975,7 @@ void dqi_poly::draw() {
if(isize(glcoords) <= 1) return;
cyl::loop_min = cyl::loop_max = 0;
if(sphere && mdBandAny())
if((sphere && mdBandAny()) || pmodel == mdPolar)
cyl::adjust(tinf);
int poly_limit = max(vid.xres, vid.yres) * 2;