Home
last modified time | relevance | path

Searched refs:az_phot (Results 1 – 1 of 1) sorted by relevance

/dports/astro/stellarium/stellarium-0.21.3/src/core/modules/
H A DLandscape.cpp797 …float az_phot=az*0.5f - 0.25f - xShift; // The 0.25 is caused by regular pano left edge being… in getOpacity() local
798 az_phot=fmodf(az_phot, 1.0f); in getOpacity()
799 …if (az_phot<0) az_phot+=1.0f; // 0..1 = image-X for a non-repeatin… in getOpacity()
800 …float az_panel = nbSide*nbDecorRepeat * az_phot; // azimuth in "panel space". Ex for nbS=4, nbDR=… in getOpacity()
1317 …float az_phot=az - 0.5f - xShift; // The 0.5 is caused by regular pano left edge being East. … in getOpacity() local
1318 az_phot=fmodf(az_phot, 2.0f); in getOpacity()
1319 if (az_phot<0) az_phot+=2.0f; // 0..2 = image-X in getOpacity()
1321 int x=static_cast<int>((az_phot*0.5f) * mapImage->width()); // pixel X from left. in getOpacity()