Korrigiere Mondrichtung in lokaler Sonnenfinsternis-Ansicht
This commit is contained in:
@@ -690,7 +690,9 @@ function drawLocalView() {
|
|||||||
|
|
||||||
const sunR = R;
|
const sunR = R;
|
||||||
const moonR = geo.moonAngR * sc;
|
const moonR = geo.moonAngR * sc;
|
||||||
const mx = cx + geo.dx * sc;
|
// Sky-view perspective is mirrored horizontally relative to the
|
||||||
|
// east-positive topocentric offset used in the geometry calculation.
|
||||||
|
const mx = cx - geo.dx * sc;
|
||||||
const my = cy + geo.dy * sc;
|
const my = cy + geo.dy * sc;
|
||||||
|
|
||||||
const glow = ctx.createRadialGradient(cx, cy, sunR * 0.9, cx, cy, sunR * 2.2);
|
const glow = ctx.createRadialGradient(cx, cy, sunR * 0.9, cx, cy, sunR * 2.2);
|
||||||
|
|||||||
Reference in New Issue
Block a user