Function olc_pixel_game_engine::fill_triangle
source · pub fn fill_triangle(
x1: i32,
y1: i32,
x2: i32,
y2: i32,
x3: i32,
y3: i32,
p: Pixel
)
Expand description
Flat fills a triangle between points (x1, y1), (x2, y2) and (x3, y3).