MATRIX_f(3alleg4)
π MATRIX_f π
okay bestie, welcome to the Allegro manual β yes, that Allegro, the game programming library, and yes, we're doing 3D math today. it's giving linear algebra but make it cute β¨
πΈ NAME πΈ
MATRIX_f β the floating point matrix structure, brought to you by the Allegro game programming library π
π SYNOPSIS π
#include <allegro.h>
typedef struct MATRIX_f
β¨ DESCRIPTION β¨
so here's the tea, bestie π β MATRIX_f is a floating point matrix structure, and inside it lives this:
float v[3][3];β the 3x3 scaling and rotation component πfloat t[3];β the x/y/z translation component π¦
that's the whole vibe. and if you wanna know how to obtain or actually use this structure, go read the chapter "3D math routines" β it's literally right there waiting for you, no cap πβ¨
ngl, this struct is main character energy for anything 3D in Allegro. respect her π
π SEE ALSO π
go read those too, they're iconic, i promise π«Ά
okay that's the whole page, bestie!! this one's from Allegro version 4.4.3 β mwah, slay, periodt π β¨π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms