interpolated

open override fun interpolated(to: Triangle, by: Float): MutableTriangle

Returns a copy of this triangle interpolated to other triangle by a factor.

Parameters

to

the triangle to which this triangle is interpolated.

by

the interpolation factor which is expected to be in the range of [0, 1].