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

Method step

src/fl/math/fixed_point/base.h:151–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 static constexpr FASTLED_FORCE_INLINE Derived step(Derived edge, Derived x) {
152 return x < edge ? Derived() : Derived(1.0f);
153 }
154
155 static FASTLED_FORCE_INLINE Derived smoothstep(Derived edge0, Derived edge1, Derived x) {
156 constexpr Derived zero(0.0f);

Callers

nothing calls this directly

Calls 1

DerivedClass · 0.50

Tested by

no test coverage detected