Share

rotate_vector_by_matrix

Rotates a vector using the decomposed quaternion of a 3x3 rotation matrix or a 4x4 transform matrix.

Inputs

vector

The vector to rotate.

transform

The 3x3 rotation matrix or 4x4 transform matrix to rotate the vector with.

Outputs

rotated_vector

The rotated vector.

Was this information helpful?