mix

Returns a linear interpolated vector

Vector!(T, U)
mix
(
T
uint U
)
(
const Vector!(T, U) v1
,
const Vector!(T, U) v2
,
T t
)

Parameters

v1 Vector!(T, U)

target vector

v2 Vector!(T, U)

target vector

t T

interpolation coefficient

Return Value

Type: Vector!(T, U)

interpolated vector

Meta