al_build_transform(3)
okay so bestie, welcome to al_build_transform(3) from the Library Functions Manual β this is the Allegro 5 API page, and it's literally giving βbuild a transformation from raw float parametersβ main character energy β¨π
πΈ NAME πΈ
al_build_transform β Allegro 5 API. She builds transforms. That's the whole vibe.
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_build_transform(ALLEGRO_TRANSFORM *trans, float x, float y,
float sx, float sy, float theta)
π DESCRIPTION π
Builds a transformation given some parameters. This call is equivalent to calling the transformations in this order: make identity, rotate, scale, translate. This method is faster, however, than actually calling those functions. no cap, it's the shortcut π
Parameters:
transβ Transformation to alter.x,yβ Translation.sx,syβ Scale.thetaβ Rotation angle in radians.
β οΈ Note: this function was previously documented to be equivalent to a different (and more useful) order of operations:identity,scale,rotate,translate. so if old docs had you confused, that was the old tea π«π
π¦ SEE ALSO π¦
π that's the page, bestie! Footer tea: source/version is Allegro reference manual, and the date slot is not listed in the original footer β it just stamps al_build_transform(3) at the end like a little signature. byeee π«Άπ
π¦ 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