Function lerp
Parameters
- out: vec3
the receiving vector
- a: ReadonlyVec3
the first operand
- b: ReadonlyVec3
the second operand
- t: number
interpolation amount, in the range [0-1], between the two inputs
Returns vec3
out
- out: vec3
Was this helpful?
the receiving vector
the first operand
the second operand
interpolation amount, in the range [0-1], between the two inputs
out
Performs a linear interpolation between two vec3's