lerp

Linear interpolation, akin to GLSL's mix.

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

Meta