al_translate_transform(1) 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