Skip to content

How to rotate figure in 3D?

VBrazhnik edited this page Aug 23, 2018 · 3 revisions

If you want to rotate a vector you should construct what is known as a rotation matrix.

X-Axis Rotation

rotation_matrix_x

After the transformations, we will get the formulas:

formulas_x

Y-Axis Rotation

rotation_matrix_y

After the transformations, we will get the formulas:

formulas_y

Z-Axis Rotation

rotation_matrix_z

After the transformations, we will get the formulas:

formulas_z

Source of information (Russian)