SangeFault/assets/minecraft/shaders/include/matrix.glsl

9 lines
148 B
Text
Raw Normal View History

#version 150
mat2 mat2_rotate_z(float radians) {
return mat2(
cos(radians), -sin(radians),
sin(radians), cos(radians)
);
}