I want to rotate a point (Vector3f) around another point (Vector3f). The problem is that i don’t want to rotate around the x,y or z-axis but the axis shown in the picture. The axis is defined by the Position of the points. P1, P2 and the angle are known. I want to calculate P1’.
Are there methods i can use to do this?