MCPcopy Create free account
hub / github.com/FastLED/FastLED / updatef

Method updatef

src/fl/math/time_alpha.h:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return static_cast<u16>(update8(now) << 8) + 0xFF;
42 }
43 virtual float updatef(u32 now) FL_NOEXCEPT {
44 return static_cast<float>(update16(now)) / 65535.0f;
45 }
46 virtual bool isActive(u32 now) const FL_NOEXCEPT = 0;
47};
48

Callers 2

getAnimationTimeFunction · 0.80
getAnimationTimeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected