SYNOPSIS

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

DESCRIPTION

Apply a rotation to a transformation.

Parameters:

\[bu]

trans - Transformation to alter

\[bu]

theta - Rotation angle in radians

RELATED TO al_rotate_transform…

al_translate_transform(3alleg5), al_scale_transform(3alleg5), al_build_transform(3alleg5)