Searched refs:time_frac (Results 1 – 1 of 1) sorted by relevance
184 float time_frac = time_since_idx / (float)(kOneHourInNsec * kTimeStep); in CalculateScene() local187 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()188 kSunlight[next_time_idx] * time_frac; in CalculateScene()216 prev_sun_xy[0] * (1 - time_frac) + next_sun_xy[0] * time_frac; in CalculateScene()218 prev_sun_xy[1] * (1 - time_frac) + next_sun_xy[1] * time_frac; in CalculateScene()221 prev_shade_xy[0] * (1 - time_frac) + next_shade_xy[0] * time_frac; in CalculateScene()223 prev_shade_xy[1] * (1 - time_frac) + next_shade_xy[1] * time_frac; in CalculateScene()244 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()245 kMoonlight[next_time_idx] * time_frac; in CalculateScene()