al_compose_transform(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 NAME 🌸

okay so bestie, this is al_compose_transform(3) from the Library Functions Manual, and it's literally the Allegro 5 API function for composing (combining) two transformations by matrix multiplication πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro.h>

void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other)

πŸ’– DESCRIPTION πŸ’–

Bestie, the vibe is simple: you take two transformations and combine them with a matrix multiplication. The manual writes it exactly like this:

trans := trans other

Now pay attention, because this is the order tea β˜•: the order of matrix multiplications is important. The effect of applying the combined transform will be as if you first apply trans and then apply other β€” and not the other way around. No cap, do not flip it πŸ™ˆπŸ”₯

πŸŽ€ Parameters πŸŽ€

  • trans β€” transformation to alter πŸ› οΈ
  • other β€” transformation used to transform trans ✨

🌈 SEE ALSO 🌈


that's the whole page, bestie 🫢 source/version is the Allegro reference manual, the page is al_compose_transform(3), and there's no date listed on the original footer β€” so no made-up date from me πŸ’–πŸŽ€

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms