lerp

Linear interpolation, akin to GLSL's mix.

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

Meta