Searched refs:celestialDist (Results 1 – 1 of 1) sorted by relevance
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/ |
H A D | r_geoscape.cpp | 394 …y (const vec4_t v, vec4_t r, const vec3_t rotate, const vec3_t earthPos, const float celestialDist) in R_RotateCelestialBody() argument 406 …Vector4Set(r, earthPos[0] + celestialDist * v2[1], earthPos[1] + celestialDist * v2[0], -celestial… in R_RotateCelestialBody() 439 static const float celestialDist = 1.37f * SKYBOX_HALFSIZE; in R_Draw3DGlobe() local 496 const int sunx = earthPos[0] + viddef.rx * (-128.0f + celestialDist * (sunLoc[0] - earthPos[0])); in R_Draw3DGlobe() 497 const int suny = earthPos[1] + viddef.ry * (-128.0f + celestialDist * (sunLoc[1] - earthPos[1])); in R_Draw3DGlobe() 509 R_RotateCelestialBody(moonLoc, moonLoc, rotate, earthPos, celestialDist); in R_Draw3DGlobe()
|