pub fn calc_all_pixels_within_triangle(
triangle: &Triangle<2>,
) -> Vec<(f32, f32, f32, Vector2<f32>)>
Expand description
Returns all tuples (w0, w1, w2, p) consisting of the baryentric coordiantes (w0, w1, w2) of a pixel (p), for all pixels inside the given triangle.