1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 20:07:58 +00:00

rogueviz adjusted to the changes

This commit is contained in:
Zeno Rogue
2023-08-14 20:13:52 +02:00
parent beb679ccab
commit 07857e612a
14 changed files with 32 additions and 35 deletions

View File

@@ -195,8 +195,7 @@ void add_extra_projections() {
add_extra("azimuthal cylindrical", mf::cylindrical | mf::azimuthal | mf::orientation, [] (shiftpoint& H_orig, hyperpoint& H, hyperpoint& ret) {
find_zlev(H);
models::apply_orientation_yz(H[1], H[2]);
models::apply_orientation(H[0], H[1]);
models::scr_to_ori(H);
ld x, y;
y = asin_auto(H[1]);
@@ -212,6 +211,7 @@ void add_extra_projections() {
ret[1] = H[1] / H[0] * x;
if(GDIM == 2) ret[2] = H[2] / H[0] * x;
ret[LDIM] = 1;
models::ori_to_scr(H);
});
}