View Single Post
  #3  
Old 09-01-2009, 08:26 AM
Chrissy2009 Chrissy2009 is offline
Member
 
Join Date: May 2009
Posts: 33
The lines should be drawn in 3D.

= = =

I want to draw three lines:

If I click with the left mousebutton, the first line would be drawn from P(0/0) to the acutal mouseposition and if I click again then the second one would be drawn, too. The z-value from the both lines is 0.

And now if I click a special button, I want to create a third line from the end of the first line to the end of the second line. This works fine if the z-values are 0.

BUT:

I'm possible to turn the two lines around the y-axis with the center at P(0/0).
So the z-values aren't 0.

And afterthat I want to create the third line and then it's wrong!
Reply With Quote