MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / WireSphereZodiac

Function WireSphereZodiac

xdevice.cpp:2647–2656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2645}
2646
2647void WireSphereZodiac(real lon, real lat, int zr, int *xp, int *yp, int *zp)
2648{
2649 real lonT, latT;
2650
2651 lonT = Tropical(lon); latT = lat;
2652 EclToEqu(&lonT, &latT);
2653 lonT = Mod(cp0.lonMC - lonT + rDegQuad);
2654 EquToLocal(&lonT, &latT, rDegQuad - Lat);
2655 WireSphereLocal(lonT + rDegQuad, -latT, zr, xp, yp, zp);
2656}
2657
2658void WireSphereEarth(real azi, real alt, int zr, int *xp, int *yp, int *zp)
2659{

Callers 1

WireChartSphereFunction · 0.85

Calls 2

ModFunction · 0.85
WireSphereLocalFunction · 0.85

Tested by

no test coverage detected