Home
last modified time | relevance | path

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

/dports/astro/stellarium/stellarium-0.21.3/src/core/modules/
H A DLandscape.cpp812 float y_img_1; // y of the sampled altitude in 0..1 visible image height from bottom in getOpacity() local
818 y_img_1=(tanAlt-tanBot)/(tanTop-tanBot); // Y position 0..1 in visible image height from bottom in getOpacity()
828y_img_1=(alt_pm1-img_bot_pm1)/(img_top_pm1-img_bot_pm1); // the sampled altitude in 0..1 visible i… in getOpacity()
829 Q_ASSERT(y_img_1<=1.f); in getOpacity()
830 Q_ASSERT(y_img_1>=0.f); in getOpacity()
833 …float y_baseImg_1 = sides[currentSide].texCoords[1]+ y_img_1*(sides[currentSide].texCoords[3]-side… in getOpacity()
1308 …float y_img_1=(alt_pm1-img_bot_pm1)/(img_top_pm1-img_bot_pm1); // the sampled altitude in 0..1 ima… in getOpacity() local
1309 Q_ASSERT(y_img_1<=1.f); in getOpacity()
1310 Q_ASSERT(y_img_1>=0.f); in getOpacity()
1312 int y=static_cast<int>((1.0f-y_img_1)*mapImage->height()); // pixel Y from top. in getOpacity()