Lines Matching full:now
90 float brightness, float xOffset, float now) {
100 float newAngle = (turbulencef2(bladeStruct->turbulencex, now, 4.0f) - 0.5f) * 0.5f;
178 float now = uptimeMillis() * 0.00004f;
181 int offset = drawBlade(bladeStruct, bladeBuffer, bladeColor, brightness, xOffset, now);
197 float now = time(State->isPreview);
206 if (now >= 0.0f && now < dawn) { // Draw night
209 } else if (now >= dawn && now <= morning) { // Draw sunrise
211 if (now <= half) { // Draw night->sunrise
213 newB = normf(dawn, half, now);
218 alpha(normf(half, morning, now));
221 } else if (now > morning && now < afternoon) { // Draw day
223 } else if (now >= afternoon && now <= dusk) { // Draw sunset
225 if (now <= half) { // Draw day->sunset
227 newB = normf(afternoon, half, now);
233 alpha(normf(half, dusk, now));
237 } else if (now > dusk) { // Draw night