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

Function ease8

src/fl/math/ease.h:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208inline u8 ease8(EaseType type, u8 i) FL_NOEXCEPT {
209 switch (type) {
210 case EaseType::EASE_NONE: return i;
211 case EaseType::EASE_IN_QUAD: return easeInQuad8(i);
212 case EaseType::EASE_OUT_QUAD: return easeOutQuad8(i);
213 case EaseType::EASE_IN_OUT_QUAD: return easeInOutQuad8(i);
214 case EaseType::EASE_IN_CUBIC: return easeInCubic8(i);
215 case EaseType::EASE_OUT_CUBIC: return easeOutCubic8(i);
216 case EaseType::EASE_IN_OUT_CUBIC: return easeInOutCubic8(i);
217 case EaseType::EASE_IN_SINE: return easeInSine8(i);
218 case EaseType::EASE_OUT_SINE: return easeOutSine8(i);
219 case EaseType::EASE_IN_OUT_SINE: return easeInOutSine8(i);
220 default: return i;
221 }
222}
223
224inline void ease8(EaseType type, u8* src, u8* dst, u8 count) FL_NOEXCEPT {
225 switch (type) {

Callers 2

FL_TEST_FILEFunction · 0.85
loopFunction · 0.85

Calls 9

easeInQuad8Function · 0.85
easeOutQuad8Function · 0.85
easeInOutQuad8Function · 0.85
easeInCubic8Function · 0.85
easeOutCubic8Function · 0.85
easeInOutCubic8Function · 0.85
easeInSine8Function · 0.85
easeOutSine8Function · 0.85
easeInOutSine8Function · 0.85

Tested by

no test coverage detected