LerpVectorExtension<T> extension
Methods
-
lerp(Vector<T> other, num t)
→ Vector<T>
-
Available on Vector<T>,
provided by the LerpVectorExtension extension
Returns a view of the element-wise linear interpolation between this
Vector 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
.