al_draw_filled_triangle
void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
float x3, float y3, ALLEGRO_COLOR color)
Introduced in 5.0.0
Draws a filled triangle.
Parameters:
- x1, y1, x2, y2, x3, y3 - Three points of the triangle
- color - Color of the triangle
See also: al_draw_triangle
Examples: ex_prim
Most helpful discussions:
- save display window as image(png,jpg)
- Having problems dont know what causes it.
- Seriously severe input delay on AL5.0.10
- Generating random combination of obstacles:Problem
- 2D game has a little problem here
- Detecting mouseover on isometric map
- Program with al_set_target_bitmap does not run.
- Help, First-chance exception at 0x5abeb70e in Game.exe: 0xC0000005: Access viola
- Primitive equivalent to al_hold_bitmap_drawing?
- Soft corners
Other recent discussions: