triangle_interpolate_test, a C code which calls triangle_interpolate() to demonstrate some simple techniques for interpolating data on a triangle.
The information on this web page is distributed under the MIT license.
triangle_interpolate, a C code which shows how vertex data can be interpolated at any point in the interior of a triangle.