Linear interpolation in triangle.png