mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
fixed the orientation of two-point azimuthal and two-point hybrid
This commit is contained in:
parent
a6338d3c49
commit
719aab3fb5
@ -884,8 +884,10 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
|||||||
ret[1] = (ret[0] + pconf.twopoint_param) * lyx;
|
ret[1] = (ret[0] + pconf.twopoint_param) * lyx;
|
||||||
ret[2] = 0;
|
ret[2] = 0;
|
||||||
|
|
||||||
|
ret[0] = -ret[0]; ret[1] = -ret[1];
|
||||||
|
|
||||||
move_y_to_z(ret, yz);
|
move_y_to_z(ret, yz);
|
||||||
models::apply_orientation(ret[0], ret[1]);
|
models::apply_orientation(ret[1], ret[0]);
|
||||||
models::apply_orientation_yz(ret[2], ret[1]);
|
models::apply_orientation_yz(ret[2], ret[1]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -898,7 +900,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
|||||||
ret = compute_hybrid(H, whateveri[0]);
|
ret = compute_hybrid(H, whateveri[0]);
|
||||||
|
|
||||||
move_y_to_z(ret, yz);
|
move_y_to_z(ret, yz);
|
||||||
models::apply_orientation(ret[0], ret[1]);
|
models::apply_orientation(ret[1], ret[0]);
|
||||||
models::apply_orientation_yz(ret[2], ret[1]);
|
models::apply_orientation_yz(ret[2], ret[1]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user