POLYTYPE_FLAT(3)
β¨ NAME β¨
From the Allegro manual: POLYTYPE_FLAT β Polygon rendering mode type from the Allegro game programming library. It's giving "I'm a polygon mode, bestie." π
π¦ SYNOPSIS π¦
#include <allegro.h>
#define POLYTYPE_FLAT
No cap, that's the whole include-and-define situation. β¨
π DESCRIPTION π
Okay so this polygon type is a simple flat shaded polygon. The way it works: it takes the color from the c value of the first vertex. Periodt. π
This polygon type is affected by the drawing_mode() function, so you can use it to render XOR or translucent polygons. Lowkey iconic, highkey useful. π₯
π SEE ALSO π
Go read those too, bestie, they're all part of the lore. π«Ά
Allegro manual footer vibes: Allegro version 4.4.3 β that's the source/version energy. No separate date in the footer, just version 4.4.3 doing its thing. Bye bestie! πβ¨
π¦ 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