Function lerp
Parameters
- out: vec4
the receiving vector
- a: ReadonlyVec4
the first operand
- b: ReadonlyVec4
the second operand
- t: number
interpolation amount, in the range [0-1], between the two inputs
Returns vec4
out
- out: vec4
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 vec4's