lerp

open fun lerp(a: Vector3, b: Vector3, t: Float): Vector3

Linearly interpolates between a and b.

Return

interpolated value between the two floats

Parameters

a

the beginning value

b

the ending value

t

ratio between the two floats.