models:: fix to halfplane

This commit is contained in:
Zeno Rogue 2023-08-14 11:24:29 +02:00
parent 6806a0e7e3
commit b98ac1c487
1 changed files with 3 additions and 3 deletions

View File

@ -762,8 +762,8 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
break;
}
/* it was inverted, so we apply scr_to_ori again */
models::scr_to_ori(H);
H *= pconf.halfplane_scale;
auto ocos = pconf.mori().get()[0][0];
auto osin = pconf.mori().get()[1][0];
@ -2800,7 +2800,7 @@ EX void draw_boundary(int w) {
case mdHalfplane:
if(hyperbolic && GDIM == 2) {
transmatrix Ori = rot_inverse(pconf.mori().get());
transmatrix Ori = pconf.mori().get();
queuestraight(Ori * spin270() * xpush0(fakeinf), 1, lc, fc, p);
return;
}