al_translate_transform man page

al_translate_transform — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_translate_transform(ALLEGRO_TRANSFORM *trans, float x, float y)

Description

Apply a translation to a transformation.

Parameters:

·
trans - Transformation to alter
·
x, y - Translation

See Also

al_rotate_transform(3), al_scale_transform(3), al_build_transform(3)

Referenced By

al_build_transform(3), al_compose_transform(3), al_identity_transform(3), al_rotate_transform(3), al_scale_transform(3).

Allegro reference manual