lua.wetgenes.tardis.m4.rotate
m4 = m4:rotate(degrees,v3a)
m4 = m4:rotate(degrees,v3a,r)
m4 = m4:rotate(degrees,x,y,z)
m4 = m4:rotate(degrees,x,y,z,r)
m4 = m4:rotate(q)
m4 = m4:rotate(q,r)
Apply quaternion or angle rotation to this matrix depending on arguments provided.
If r is provided then the result is written into r and returned otherwise m4 is modified and returned.