LerpMatrixExtension<T> extension
Methods
-
lerp(Matrix<T> other, num t)
→ Matrix<T>
-
Returns a view of the element-wise linear interpolation between this
Matrix and
other
with a factor of t
. If t
is equal to 0
the
result is this
, if t
is equal to 1
the result is other
.