lerp

Linear interpolation, akin to GLSL's mix.

pure nothrow @nogc
S
lerp
(
S
T
)
(
S a
,
S b
,
T t
)
if (
is(typeof(t * b + (1 - t) * a) : S)
)

Meta