Aardvark.Base


Ipol<'T>

Static members

Static memberDescription
Generate(a, b, interpolator)
Signature: (a:'T * b:'T * interpolator:Func<'T,'T,float,'T>) -> Func<float,'T>
Generate(a, b, c, d, interpolator)
Signature: (a:'T * b:'T * c:'T * d:'T * interpolator:Func<'T,'T,'T,'T,float,'T>) -> Func<float,'T>
Lerp
Signature: Func<'T,'T,float,'T>

Gets a function that performs linear interpolation for values of T: (T a, T b, double t) => a (1 - t) + b t. For t = 0.0 the funtion will return a, and for t = 1.0 the function will return b.

Slerp
Signature: Func<'T,'T,float,'T>

Gets a lambda that performs spherical linear interpolation for values of T, where T is one of QuaternionD, QuaternionF, V3f, V3d.

Fork me on GitHub