If I use rotate here, the x and y position of the transform matrix would also be rotate.
I could call translate after I rotated the matrix, but I think a local rotation function would be neat to have here.