mirror of
https://github.com/SangeloDev/SangeFault.git
synced 2024-11-14 01:22:43 +00:00
a50683c84e
basically starting over... this is gonna be fun!
8 lines
148 B
GLSL
8 lines
148 B
GLSL
#version 150
|
|
|
|
mat2 mat2_rotate_z(float radians) {
|
|
return mat2(
|
|
cos(radians), -sin(radians),
|
|
sin(radians), cos(radians)
|
|
);
|
|
}
|