identity_matrix(3)

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

✨ identity_matrix β€” NAME ✨

bestie... it's identity_matrix, identity_matrix_f πŸ’– the global that literally holds the identity matrix. and yes, it's part of the Allegro game programming library, iykyk πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro.h>

extern MATRIX identity_matrix;

extern MATRIX_f identity_matrix_f;

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: two global variables, and they're both the "do nothing" identity matrix πŸ’… the most low-maintenance, unbothered, main-character-energy matrix to ever exist β€” it literally does nothing and that's the whole point 🫢

here's the tea though, fr fr: when you multiply by the identity matrix, there is no effect. none. zero. nada. the matrix just sits there like 🧚 and your values come out exactly the same as they went in. it's giving "I'm just here to be the neutral one" and honestly? iconic. no cap.

πŸŽ€ one is MATRIX, the other is MATRIX_f β€” same vibe, different type, so pick whichever one matches what you're working with bestie πŸ’œ

and that's the whole page, babes 🌈 source is Allegro, version 4.4.3 β€” go forth and multiply (by the identity matrix, so, y'know, nothing happens πŸ’€βœ¨)

πŸ“¦ where this page comes from