mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
fixed loximuthal parameter
This commit is contained in:
parent
4d71857d7b
commit
24c557b5d2
@ -849,8 +849,11 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) {
|
|||||||
makeband(H_orig, ret, [] (ld&x, ld &y) {
|
makeband(H_orig, ret, [] (ld&x, ld &y) {
|
||||||
ld orig_y = y;
|
ld orig_y = y;
|
||||||
band_conformal(x, y);
|
band_conformal(x, y);
|
||||||
y -= pconf.loximuthal_parameter;
|
ld x0 = 0, y0 = pconf.loximuthal_parameter; band_conformal(x0, y0);
|
||||||
|
y -= y0;
|
||||||
|
|
||||||
orig_y -= pconf.loximuthal_parameter;
|
orig_y -= pconf.loximuthal_parameter;
|
||||||
|
|
||||||
if(y) x = x * orig_y / y;
|
if(y) x = x * orig_y / y;
|
||||||
y = orig_y;
|
y = orig_y;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user