// Triangle draws a triangle given three points
Triangle draws a triangle given three points
// Triangle draws a triangle given three points
func Triangle(display drivers.Displayer, x0 int16, y0 int16, x1 int16, y1 int16, x2 int16, y2 int16, color color.RGBA) {
	Line(display, x0, y0, x1, y1, color)
	Line(display, x0, y0, x2, y2, color)
	Line(display, x1, y1, x2, y2, color)
}
func Triangle ( display drivers . Displayer , x0 int16 , y0 int16 , x1 int16 , y1 int16 , x2 int16 , y2 int16 , color color . RGBA ) { Line ( display , x0 , y0 , x1 , y1 , color ) Line ( display , x0 , y0 , x2 , y2 , color ) Line ( display , x1 , y1 , x2 , y2 , color ) }
Triangle draws a triangle given three points
Triangle draws a triangle given three points