Rotating a line
in
Programming Questions
•
6 months ago
I have a 2 lines and i want to rotate line2 n degrees while it still touches the line1. So it will look like this:
line(10,10,100,10);
i have tried for example ;Line 1__________
|| line 2|
line(10,10,100,10);
rotate(radians(90));
line(100,10,100,10);
line(100,10,100,10);
That doesn't work though, can i get some help?
1