identity_matrix(3)
β¨ 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 isMATRIX, the other isMATRIX_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
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms