Method Lerp
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Lerp(float, float, float)
Linearly interpolates between the two given samples.
protected override float Lerp(float outputSampleMin, float outputSampleMax, float t)
Parameters
outputSampleMinfloatThe value when t is less than or equal to 0.
outputSampleMaxfloatThe value when t is greater than or equal to 1.
tfloatThe fraction of the minimum sample to use.