al_invert_transform(3)

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

✨ NAME ✨

okay bestie, meet <al_invert_transform> β€” it's the Allegro 5 API function from the Library Functions Manual, and its whole personality is flipping a transformation inside out. πŸ’…

🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_invert_transform(ALLEGRO_TRANSFORM *trans)

πŸ¦‹ DESCRIPTION πŸ¦‹

Inverts the passed transformation. That's the main-character move. πŸ’–

If the transformation is nearly singular (close to not having an inverse), then the returned transformation may be invalid. Not a slay. If you're in doubt, use al_check_inverse(3) to ascertain if the transformation has an inverse before inverting it β€” future you will thank you. 🫢

Parameters

  • trans β€” Transformation to invert.
⚠️ Note: Allegro’s transformation inversion functions work correctly only with 2D transformations. That's the vibe check: 2D only, no cap. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page. The footer energy is Allegro reference manual, and there's literally no date printed on it, so no fake timestamp from me β€” source/version is just that manual line, date: not listed. πŸ’œ

πŸ“¦ 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