Searched refs:timeFrac (Results 1 – 2 of 2) sorted by relevance
146 float timeFrac = timeSinceIdx / (float)(kOneHourInNsec * kTimeStep); in calculateScene() local150 kSunlight[timeIdx] * (1 - timeFrac) + in calculateScene()151 kSunlight[nextTimeIdx] * timeFrac; in calculateScene()178 currentSunXY[0] = prevSunXY[0] * (1 - timeFrac) + in calculateScene()179 nextSunXY[0] * timeFrac; in calculateScene()180 currentSunXY[1] = prevSunXY[1] * (1 - timeFrac) + in calculateScene()181 nextSunXY[1] * timeFrac; in calculateScene()183 currentShadeXY[0] = prevShadeXY[0] * (1 - timeFrac) + in calculateScene()184 nextShadeXY[0] * timeFrac; in calculateScene()185 currentShadeXY[1] = prevShadeXY[1] * (1 - timeFrac) + in calculateScene()[all …]
147 float timeFrac = timeSinceIdx / (float)(kOneHourInNsec * kTimeStep); in calculateScene() local151 kSunlight[timeIdx] * (1 - timeFrac) + kSunlight[nextTimeIdx] * timeFrac; in calculateScene()178 currentSunXY[0] = prevSunXY[0] * (1 - timeFrac) + nextSunXY[0] * timeFrac; in calculateScene()179 currentSunXY[1] = prevSunXY[1] * (1 - timeFrac) + nextSunXY[1] * timeFrac; in calculateScene()182 prevShadeXY[0] * (1 - timeFrac) + nextShadeXY[0] * timeFrac; in calculateScene()184 prevShadeXY[1] * (1 - timeFrac) + nextShadeXY[1] * timeFrac; in calculateScene()206 kMoonlight[timeIdx] * (1 - timeFrac) + kMoonlight[nextTimeIdx] * timeFrac; in calculateScene()