POLYTYPE_FLAT(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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