interpolateTriangle

Bilinearly interpolate the single scalar value <i>f</i> over the given triangle. <p> Reference: <a href="https://en.wikipedia.org/wiki/Barycentric_coordinate_system">https://en.wikipedia.org/</a>

@param v0X the x coordinate of the first triangle vertex @param v0Y the y coordinate of the first triangle vertex @param f0 the value of <i>f</i> at the first vertex @param v1X the x coordinate of the second triangle vertex @param v1Y the y coordinate of the second triangle vertex @param f1 the value of <i>f</i> at the second vertex @param v2X the x coordinate of the third triangle vertex @param v2Y the y coordinate of the third triangle vertex @param f2 the value of <i>f</i> at the third vertex @param x the x coordinate of the point to interpolate <i>f</i> at @param y the y coordinate of the point to interpolate <i>f</i> at @return the interpolated value of <i>f</i>

Meta