render: Implement rest of transforms
parent
c32993d87d
commit
433ee722ec
18
src/render.c
18
src/render.c
|
@ -81,21 +81,21 @@ static const float transforms[][4] = {
|
||||||
0.0f, 1.0f,
|
0.0f, 1.0f,
|
||||||
-1.0f, 0.0f,
|
-1.0f, 0.0f,
|
||||||
},
|
},
|
||||||
[WL_OUTPUT_TRANSFORM_FLIPPED] = { // TODO
|
[WL_OUTPUT_TRANSFORM_FLIPPED] = {
|
||||||
1.0f, 0.0f,
|
-1.0f, 0.0f,
|
||||||
0.0f, 1.0f,
|
0.0f, 1.0f,
|
||||||
},
|
},
|
||||||
[WL_OUTPUT_TRANSFORM_FLIPPED_90] = { // TODO
|
[WL_OUTPUT_TRANSFORM_FLIPPED_90] = {
|
||||||
1.0f, 0.0f,
|
0.0f, -1.0f,
|
||||||
0.0f, 1.0f,
|
-1.0f, 0.0f,
|
||||||
},
|
},
|
||||||
[WL_OUTPUT_TRANSFORM_FLIPPED_180] = { // TODO
|
[WL_OUTPUT_TRANSFORM_FLIPPED_180] = {
|
||||||
1.0f, 0.0f,
|
1.0f, 0.0f,
|
||||||
0.0f, 1.0f,
|
0.0f, -1.0f,
|
||||||
},
|
},
|
||||||
[WL_OUTPUT_TRANSFORM_FLIPPED_270] = { // TODO
|
[WL_OUTPUT_TRANSFORM_FLIPPED_270] = {
|
||||||
1.0f, 0.0f,
|
|
||||||
0.0f, 1.0f,
|
0.0f, 1.0f,
|
||||||
|
1.0f, 0.0f,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue