Searched refs:kTimeStep (Results 1 – 4 of 4) sorted by relevance
142 int timeIdx = mHour / kTimeStep; in calculateScene()143 int nextTimeIdx = (timeIdx + 1) % (24 / kTimeStep); in calculateScene()145 nsecs_t timeSinceIdx = (mHour - timeIdx * kTimeStep) * kOneHourInNsec + time; in calculateScene()146 float timeFrac = timeSinceIdx / (float)(kOneHourInNsec * kTimeStep); in calculateScene()365 const float Scene::kSunlight[24/kTimeStep] =382 const float Scene::kMoonlight[24/kTimeStep] =
183 static const uint32_t kTimeStep = 2; variable
143 int timeIdx = mHour / kTimeStep; in calculateScene()144 int nextTimeIdx = (timeIdx + 1) % (24 / kTimeStep); in calculateScene()146 nsecs_t timeSinceIdx = (mHour - timeIdx * kTimeStep) * kOneHourInNsec + time; in calculateScene()147 float timeFrac = timeSinceIdx / (float)(kOneHourInNsec * kTimeStep); in calculateScene()361 const float Scene::kSunlight[24 / kTimeStep] = {0, // 00:00375 const float Scene::kMoonlight[24 / kTimeStep] = {kFullMoonIllum, // 00:00
140 static const uint32_t kTimeStep = 2; variable