I have a line with lenght of l and p1 and p2 and i want to rotate it by angle. I was using this matrix but it doesn't work.
Where you can clearly see the rotation around the middle point between the two lines.
I have a line with lenght of l and p1 and p2 and i want to rotate it by angle. I was using this matrix but it doesn't work.
Where you can clearly see the rotation around the middle point between the two lines.