35 int const i_translate_x,
36 int const i_translate_y);
void matrix_transform(int *const o_pos_x, int *const o_pos_y)
apply the transformation matrix to the parameters
Definition: matrix.c:93
int m_translate_y
Definition: matrix.h:15
matrix
Definition: matrix.h:12
void matrix_pop()
restore the current transformation matrix
Definition: matrix.c:72
void matrix_translate(int const i_translate_x, int const i_translate_y)
translate the current transformation matrix
Definition: matrix.c:83
void matrix_cleanup()
release resources held by the global matrix object
Definition: matrix.c:24
int m_translate_x
Definition: matrix.h:14
struct matrix _matrix
current transformation matrix
Definition: matrix.c:18
void matrix_push()
pushes the current transformation matrix onto the stack
Definition: matrix.c:34