al_rotate_transform(1) Allegro 5 API

SYNOPSIS


#include <allegro5/allegro.h>
void al_rotate_transform(ALLEGRO_TRANSFORM *trans, float theta)

DESCRIPTION

Apply a rotation to a transformation.

Parameters:

  • trans - Transformation to alter
  • theta - Rotation angle in radians