al_compose_transform(3alleg5)
β¨ NAME β¨
al_compose_transform β the Allegro 5 API glow-up where two transformations become one π
(also known as al_compose_transform(3alleg5), bestie, if u were looking for the manual page name π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other)
π¦ DESCRIPTION π¦
Okay so here's the tea β: al_compose_transform combines two transformations into one by doing a matrix multiplication. It's giving math but make it fashion π
trans := trans other
BIG IMPORTANT NOTE, no cap: the order of matrix multiplications is literally the whole plot. The order matters so much here. The effect of applying the combined transform will be as if you first applied trans and then applied other β and NOT the other way around. Do not flip them, bestie, I am begging π
Parameters:
transβ the transformation to alter π οΈ (this one gets changed, she's the main character)otherβ the transformation used to transformtransβ¨
π SEE ALSO π
okay that's the whole page, bestie, u ate that π go compose some transforms, the vibes are immaculate, periodt π β¨
This was brought to you by the Allegro reference manual and the page al_compose_transform(3alleg5) β see u in the next manpage, mwah π«Άπ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms