al_draw_filled_triangle(3alleg5)
β¨ NAME β¨
al_draw_filled_triangle β bestie, this is the Allegro 5 API function that draws a filled triangle. periodt π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_primitives.h>
void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
float x3, float y3, ALLEGRO_COLOR color)
π¦ DESCRIPTION π¦
okay so literally what it does: draws a filled triangle. that's the whole vibe. no cap β¨
Parameters? gotchu, bestie:
x1,y1,x2,y2,x3,y3β three points of the triangle. three little coordinate besties making one iconic shape πcolorβ color of the triangle. the lewk, the aesthetic, the moment π
π SEE ALSO π
if you want the non-filled sibling, go peek at al_draw_triangle(3alleg5). iykyk π«Ά
source/version vibe: Allegro reference manual, and the page tag is al_draw_filled_triangle(3alleg5). bye bestie, go draw some triangles πβ¨ππ¦πΈπ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms