This is rotation function I wrote but instead of rotating the quad I am drawing it is shifting it up(towards y axis)
mat4 mat4::rotation(const float& angl