MATRIX(3alleg4)

πŸ’– MATRIX πŸ’–

okay bestie, so this is from the Allegro manual β€” the MATRIX(3alleg4) page, and it's literally just the fixed point matrix structure. 3D math girlies rise up πŸ¦‹


✨ NAME ✨

MATRIX β€” the fixed point matrix structure, from the Allegro game programming library. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

typedef struct MATRIX

πŸ’œ DESCRIPTION πŸ’œ

so the struct is giving:

     fixed v[3][3];           - 3x3 scaling and rotation component
     fixed t[3];              - x/y/z translation component

okay so v is the 3x3 scaling and rotation component and t is the x/y/z translation component. slay. πŸŽ€

it's a fixed point matrix structure, and if you actually wanna know how to obtain or use it, go read the chapter "3D math routines" β€” no cap, that's where the whole story lives. πŸ“–βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, bestie, they ate πŸ”₯


mwah πŸ’‹ that was MATRIX(3alleg4) from Allegro, version 4.4.3 β€” Allegro's own page, dated like the original footer said. stay iconic, go build something 3D, ily 🫢✨