lua.wetgenes.tardis.m4.prerotate
m4 = m4:prerotate(degrees,v3a)
m4 = m4:prerotate(degrees,v3a,r)
m4 = m4:prerotate(degrees,x,y,z)
m4 = m4:prerotate(degrees,x,y,z,r)
m4 = m4:prerotate(q)
m4 = m4:prerotate(q,r)
Pre 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.