SYNOPSIS

  • #include <allegro5/allegro.h>
    
    void al_translate_transform(ALLEGRO_TRANSFORM *trans, float x, float y)
    
    

DESCRIPTION

Apply a translation to a transformation.

Parameters:

\[bu]

trans - Transformation to alter

\[bu]

x, y - Translation

RELATED TO al_translate_transform…

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