lerp
Returns a linearly interpolated color between a and b colors.
Parameters
a
the source color.
b
the destination color.
t
the interpolator value with an expected range of [0, 1].
Returns a linearly interpolated value between a and b.
Parameters
a
the source value.
b
the destination value.
t
the interpolator value with an expected range of [0, 1].
Returns a linearly interpolated vector between a and b vectors.
Parameters
a
the source vector.
b
the destination vector.
t
the interpolator value with an expected range of [0, 1].
Returns a component-wise linearly interpolated vector between a and b vectors.
Parameters
a
the source vector.
b
the destination vector.
t
the interpolator vector with expected ranges of ([0, 1], [0, 1]).