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