mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-01 03:39:16 +00:00
X sign in rotated hyperboles
This commit is contained in:
parent
39ce061fa7
commit
459619ff35
@ -702,7 +702,7 @@ namespace conformal {
|
|||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pmodel == mdDisk || pmodel == mdBall || pmodel == mdHyperboloid) {
|
if(among(pmodel, mdDisk, mdBall, mdHyperboloid, mdRotatedHyperboles)) {
|
||||||
dialog::addSelItem(XLAT("Projection at the ground level"), fts3(vid.alpha), 'p');
|
dialog::addSelItem(XLAT("Projection at the ground level"), fts3(vid.alpha), 'p');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1185,6 +1185,11 @@ void draw_model_elements() {
|
|||||||
|
|
||||||
switch(pmodel) {
|
switch(pmodel) {
|
||||||
|
|
||||||
|
case mdRotatedHyperboles: {
|
||||||
|
queuechr(current_display->xcenter, current_display->ycenter + current_display->radius * vid.alpha, 0, vid.fsize, 'X', ringcolor, 1, 8);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
case mdTwoPoint: {
|
case mdTwoPoint: {
|
||||||
ld a = -conformal::model_orientation * degree;
|
ld a = -conformal::model_orientation * degree;
|
||||||
queuechr(xspinpush0(a, +vid.twopoint_param), vid.xres / 100, 'X', ringcolor >> 8);
|
queuechr(xspinpush0(a, +vid.twopoint_param), vid.xres / 100, 'X', ringcolor >> 8);
|
||||||
@ -1283,6 +1288,7 @@ void draw_boundary(int w) {
|
|||||||
|
|
||||||
if(haveaura()) lc = 0;
|
if(haveaura()) lc = 0;
|
||||||
if(lc == 0 && fc == 0) return;
|
if(lc == 0 && fc == 0) return;
|
||||||
|
if(pmodel == mdRotatedHyperboles) return;
|
||||||
|
|
||||||
ld fakeinf = sphere ? M_PI-1e-5 : hyperbolic ? 10 : exp(10);
|
ld fakeinf = sphere ? M_PI-1e-5 : hyperbolic ? 10 : exp(10);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user