aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/matrix.h
blob: a1053b0010ff9c8a063211efd06fe7d3a2be4761 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef _WLR_RENDER_MATRIX_H
#define _WLR_RENDER_MATRIX_H

void wlr_matrix_identity(float (*output)[16]);
void wlr_matrix_translate(float (*output)[16], float x, float y, float z);
void wlr_matrix_scale(float (*output)[16], float x, float y, float z);
void wlr_matrix_rotate(float (*output)[16], float radians);
void wlr_matrix_mul(float (*x)[16], float (*y)[16], float (*product)[16]);

#endif