MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / FLerp

Function FLerp

SourceSDK/public/mathlib/mathlib.h:664–667  ·  view source on GitHub ↗

5-argument floating point linear interpolation. FLerp(f1,f2,i1,i2,x)= f1 at x=i1 f2 at x=i2 smooth lerp between f1 and f2 at x>i1 and x i2 If you know a function f(x)'s value (f1) at position i1, and its value (f2) at position i2, the function can be linearly interpolated with FLerp(f1,f2,i1,i2,x) i2=i1 will cause a divide by zero.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

GetInterpolationDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected