Searched refs:time_idx (Results 1 – 1 of 1) sorted by relevance
206 int time_idx = hour_ / kTimeStep; in CalculateScene() local207 int next_time_idx = (time_idx + 1) % (24 / kTimeStep); in CalculateScene()210 (hour_ - time_idx * kTimeStep) * kOneHourInNsec + time; in CalculateScene()214 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()226 if (kSunlight[time_idx] == kSunsetIllum || in CalculateScene()227 kSunlight[time_idx] == kTwilightIllum) { in CalculateScene()271 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()