mirror of
https://github.com/bvanroll/shaders.git
synced 2025-08-29 12:02:44 +00:00
starting on snippets folder keeping track of my thoughts since i lost my
thing
This commit is contained in:
3
snippets/rotate/rotate.frag
Normal file
3
snippets/rotate/rotate.frag
Normal file
@@ -0,0 +1,3 @@
|
||||
vec2 rotate(vec2 st, float a) {
|
||||
return mat2(cos(a),-sin(a),sin(a),cos(a))*(st);
|
||||
}
|
Reference in New Issue
Block a user