triangle3d(3)
π¦ NAME π¦
okay so bestie, welcome to triangle3d(3) from the Allegro manual! This page is about triangle3d and triangle3d_f β they draw a 3d triangle onto the specified bitmap. Allegro game programming library, periodt. π
β¨ SYNOPSIS β¨
#include <allegro.h>
void triangle3d(BITMAP *bmp, int type, BITMAP *tex, V3D *v1, *v2, *v3);
void triangle3d_f(BITMAP *bmp, int type, BITMAP *tex, V3D_f *v1, *v2,
*v3);
π DESCRIPTION π
Draw 3d triangles, bestie β using either fixed or floating point vertex structures. Choose your fighter. π¦
Unlike quad3d[_f](), the triangle3d[_f]() functions are not wrappers of polygon3d[_f](). They use their own routines, and those routines take into account the constantness of the gradients. That means triangle3d[_f](bmp, type, tex, v1, v2, v3) is faster than polygon3d[_f](bmp, type, tex, 3, v[]). no cap. π₯
Also, go read the beginning of chapter "Polygon rendering" for a list of rendering types you can use with this function. it's giving essential lore. π
π SEE ALSO π
source: Allegro. version: 4.4.3. date: the footer didn't list one, bestie β it just says triangle3d(3) and Allegro version 4.4.3. so that's the whole page. bye babes! πβ¨π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms