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