Vector.lerp

Linear interpolates vector

struct Vector(T, size_t N)
static if(isFloatingPoint!T)
void
lerp
if (
isNumeric!T &&
N > 0
)

Parameters

to VecType

Vector to interpolate to

weight T

Interpolation weight in range [0.0, 1.0]

Meta