1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 06:45:59 +00:00

fixed mdHyperboloid in spherical geometry

This commit is contained in:
Zeno Rogue
2023-08-15 11:00:43 +02:00
parent ccb5068964
commit b018582f44
2 changed files with 9 additions and 2 deletions

View File

@@ -2924,6 +2924,14 @@ EX void draw_boundary(int w) {
queuecurve(shiftless(Id), lc, fc, p);
}
}
if(sphere) {
queuereset(mdPixel, p);
for(int i=0; i<=360; i++) {
curvepoint(point3(current_display->radius * cos(i * degree)/3, current_display->radius * sin(i * degree)/3, 0));
}
queuecurve(shiftless(Id), lc, fc, p);
queuereset(pmodel, p);
}
return;
}