diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-23 18:05:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 18:05:41 -0500 |
commit | c09c2dfbc4a33aed90bf4c033a2a75e8a0cecb64 (patch) | |
tree | cb6279425d64e395590753fec23aae948ef91b8b /include/wlr | |
parent | 03440bbd83b5d68404db8ebc2df310ec0f8c9b32 (diff) | |
parent | a4d601e3d6d6600bc4c26697d282616537ef9b02 (diff) |
Merge pull request #570 from acrisci/decorations
Decorations
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/render/matrix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/render/matrix.h b/include/wlr/render/matrix.h index 0b35aad3..a333bf0f 100644 --- a/include/wlr/render/matrix.h +++ b/include/wlr/render/matrix.h @@ -2,6 +2,7 @@ #define WLR_RENDER_MATRIX_H #include <stdint.h> +#include <wlr/types/wlr_box.h> void wlr_matrix_identity(float (*output)[16]); void wlr_matrix_translate(float (*output)[16], float x, float y, float z); @@ -14,5 +15,8 @@ void wlr_matrix_transform(float mat[static 16], enum wl_output_transform transform); void wlr_matrix_texture(float mat[static 16], int32_t width, int32_t height, enum wl_output_transform transform); +void wlr_matrix_project_box(float (*mat)[16], struct wlr_box *box, + enum wl_output_transform transform, float rotation, float + (*projection)[16]); #endif |