Matrix.rotateQuaternion

Adds a rotation transformation to m, using the given #graphene_quaternion_t.

This is the equivalent of calling graphene.quaternion.Quaternion.toMatrix and then multiplying m with the rotation matrix.

class Matrix
void
rotateQuaternion

Parameters

q graphene.quaternion.Quaternion

a rotation described by a #graphene_quaternion_t