1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
This commit is contained in:
Emmanouil Papadeas 2024-08-11 11:05:02 +03:00
parent 9c170ee5a0
commit 3113459224

View file

@ -1,6 +1,6 @@
uniform sampler2D selection_tex : filter_nearest;
uniform vec2 pivot;
uniform mat2 transformation_matrix;
uniform mat2 transformation_matrix = mat2(vec2(1.0, 0.0), vec2(0.0, 1.0));
vec2 rotate(vec2 uv, float ratio) {
// Scale and center image