rotate Matrix
Creates a rotation transformation matrix based on two given points.
Return
A transformation matrix with applied rotation and translation based on the given points.
Parameters
first Point
The first reference point.
last Point
The second point used to determine the rotation angle.