al_vertical_shear_transform(3alleg5)

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

πŸ’… al_vertical_shear_transform β€” Allegro 5 API

okay bestie, welcome to the al_vertical_shear_transform(3alleg5) page, aka the manual entry for one (1) extremely specific little transform function. she's short, she's sweet, she does exactly one thing, and she does it flawlessly. no cap. πŸŽ€


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

void al_vertical_shear_transform(ALLEGRO_TRANSFORM* trans, float theta)

that's it. that's the whole vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

so what she does is: she applies a vertical shear to the transform. that's the whole thing. slay. πŸ’…

like, you hand her a transform and she skews it vertically, and honestly? iconic behavior.

Parameters: (yes we're doing this, don't skip, it matters 🫢)

  • trans β€” the Transformation to alter. this is the one getting sheared, poor thing.
  • theta β€” the Rotation angle in radians. radians!! not degrees!! don't come crying to me later, i warned you 😭

⭐ SINCE ⭐

5.1.7 β€” she's been here since 5.1.7, a true veteran of the Allegro 5 era. respect the elders. πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie!! go forth and shear vertically, you absolute main character. this has been the Allegro reference manual, al_vertical_shear_transform(3alleg5), mwah πŸ’– no notes, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from