Matrix.rotateQuaternion

void rotateQuaternion(graphene.quaternion.Quaternion q)

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.

Parameters

qa rotation described by a #graphene_quaternion_t