1al_draw_filled_triangle(3) al_draw_filled_triangle(3)
2
3
4
6 al_draw_filled_triangle - Allegro 5 API
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
12 float x3, float y3, ALLEGRO_COLOR color)
13
15 Draws a filled triangle.
16
17 Parameters:
18
19 • x1, y1, x2, y2, x3, y3 - Three points of the triangle
20
21 • color - Color of the triangle
22
24 al_draw_triangle(3)
25
26
27
28Allegro reference manual al_draw_filled_triangle(3)