MATRIX(3)

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

πŸ’– MATRIX(3) πŸ’–

okay so bestie, we are literally about to talk about a fixed point matrix structure in the Allegro game programming library. it's giving math but make it retro. πŸŽ€βœ¨


πŸŽ€ NAME πŸŽ€

MATRIX β€” fixed point matrix structure. Allegro game programming library. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

typedef struct MATRIX

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this struct is a fixed point matrix structure, and here's the tea on its members, no cap:

  • fixed v[3][3]; β€” the 3x3 scaling and rotation component. slay. ✨
  • fixed t[3]; β€” the x/y/z translation component. periodt. πŸ’…

For the full lore on how to obtain/use this structure, read chapter "3D math routines". that's where the info lives, bestie. πŸ“–πŸ«Ά

not me being obsessed with a struct that has both v and t doing different jobs. iconic. πŸ‘‘

🌈 SEE ALSO 🌈


signing off from the footer, bestie: Allegro, version 4.4.3, on the MATRIX(3) page. no date in the footer, so we're not making one up. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from