mirror of
https://github.com/bvanroll/shaders.git
synced 2025-08-29 03:52:47 +00:00
4 lines
84 B
GLSL
4 lines
84 B
GLSL
vec2 rotate(vec2 st, float a) {
|
|
return mat2(cos(a),-sin(a),sin(a),cos(a))*(st);
|
|
}
|