rotate_quaternion


Description:

[ Version ( since = "1.2" ) ]
public void rotate_quaternion (Quaternion q)

Adds a rotation transformation to this, using the given Quaternion.

This is the equivalent of calling to_matrix and then multiplying this with the rotation matrix.

Parameters:

this

a Matrix

q

a rotation described by a Quaternion