lua.wetgenes.tardis.m4.qrotate
m4 = m4:qrotate(q)
m4 = m4:qrotate(q,r)
Apply a quaternion rotation to this matrix.
If r is provided then the result is written into r and returned otherwise m4 is modified and returned.
m4 = m4:qrotate(q)
m4 = m4:qrotate(q,r)
Apply a quaternion rotation to this matrix.
If r is provided then the result is written into r and returned otherwise m4 is modified and returned.