Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

ALLEGRO_TRANSFORM - Allegro 5 API

Description

       Defines the generic transformation type, a 4x4 matrix.  2D transforms use only a small subsection of this
       matrix, namely the top left 2x2 matrix, and the right most 2x1 matrix, for a total of 6 values.

       Fields:

       • m - A 4x4 float matrix

Allegro reference manual                                                              ALLEGRO_TRANSFORM(3alleg5)

Name

       ALLEGRO_TRANSFORM - Allegro 5 API

Synopsis

              #include <allegro5/allegro.h>

              typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;

See Also