mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Merge pull request #733 from emersion/fix-matrix-transpose
Don't use OpenGL matrix transposition
This commit is contained in:
commit
a76cef475b
4 changed files with 37 additions and 15 deletions
|
|
@ -5,11 +5,12 @@
|
|||
#include <wlr/types/wlr_box.h>
|
||||
|
||||
void wlr_matrix_identity(float mat[static 9]);
|
||||
void wlr_matrix_multiply(float mat[static 9], const float a[static 9],
|
||||
const float b[static 9]);
|
||||
void wlr_matrix_transpose(float mat[static 9], const float a[static 9]);
|
||||
void wlr_matrix_translate(float mat[static 9], float x, float y);
|
||||
void wlr_matrix_scale(float mat[static 9], float x, float y);
|
||||
void wlr_matrix_rotate(float mat[static 9], float rad);
|
||||
void wlr_matrix_multiply(float mat[static 9], const float a[static 9],
|
||||
const float b[static 9]);
|
||||
void wlr_matrix_transform(float mat[static 9],
|
||||
enum wl_output_transform transform);
|
||||
void wlr_matrix_projection(float mat[static 9], int width, int height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue