al_compose_transform(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 transform trans ✨

πŸ’œ 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