Skip to content

Rotation vector in affine transformation #1247

Answered by ftessier
marsha-c asked this question in Questions
Discussion options

You must be logged in to vote

Yes, this is not a very common way to define a rotation, but it is eminently useful! The rotation is defined as the rotation that transforms the input rotation vector to a vector along (0, 0, 1). The highlighted text above provides an example. To transform the vector (-1, 0, 1) so that it lies along the z-axis, you need a +45 degree rotation around the y-axis; hence (-1, 0, 1) in this way defines a +45 degree rotation around the y-axis.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marsha-c
Comment options

Answer selected by marsha-c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants