MCPcopy Create free account
hub / github.com/Samsung/rlottie / GetSlope

Method GetSlope

src/vector/vinterpolator.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43float VInterpolator::GetSlope(float aT, float aA1, float aA2)
44{
45 return 3.0f * A(aA1, aA2) * aT * aT + 2.0f * B(aA1, aA2) * aT + C(aA1);
46}
47
48float VInterpolator::value(float aX) const
49{

Callers

nothing calls this directly

Calls 3

AFunction · 0.85
BFunction · 0.85
CFunction · 0.85

Tested by

no test coverage detected