logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_compose_transform - Allegro 5 API

Description

       Compose (combine) two transformations by a matrix multiplication.

              trans := trans other

       Note  that  the  order  of  matrix  multiplications  is  important.   The effect of applying the combined
       transform will be as if first applying trans and then applying other and not the other way around.

       Parameters:

       • trans - Transformation to alter

       • other - Transformation used to transform trans

Name

       al_compose_transform - Allegro 5 API

See Also

al_translate_transform(3alleg5), al_rotate_transform(3alleg5), al_scale_transform(3alleg5)

Allegro reference manual                                                           al_compose_transform(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

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

See Also