Matrix.rotateQuaternion

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

This is the equivalent of calling graphene_quaternion_to_matrix() and then multiplying @m with the rotation matrix.

class Matrix
void
rotateQuaternion

Parameters

q Quaternion

a rotation described by a #graphene_quaternion_t

Meta