Searched refs:time_idx (Results 1 – 1 of 1) sorted by relevance
180 int time_idx = hour_ / kTimeStep; in CalculateScene() local181 int next_time_idx = (time_idx + 1) % (24 / kTimeStep); in CalculateScene()183 (hour_ - time_idx * kTimeStep) * kOneHourInNsec + time; in CalculateScene()187 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()199 if (kSunlight[time_idx] == kSunsetIllum || in CalculateScene()200 kSunlight[time_idx] == kTwilightIllum) { in CalculateScene()244 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()