al_compose_transform - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

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

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:

See Also

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

Referenced By

al_build_camera_transform(3), al_build_transform(3).

Allegro reference manual