Skip to contents

Vector4 Lerp

Usage

vector4_lerp(v1, v2, amount)

Arguments

v1

A numeric vector of length 4.

v2

A numeric vector of length 4.

amount

A number.

Value

A numeric vector of length 4

Examples

vector4_lerp(c(0, 0, 0, 1), c(0, 0, 0, 1), 0.0)
#> x y z w 
#> 0 0 0 1