To rotate a 3D object around an axis
The positive axis direction is from the start point to the end point, and the rotation follows the right-hand rule (see Understand the User Coordinate System in 3D).