|
Hi all,
This problem might be more suitable on a Java
2D discussion list but it's driving me crazy so I'd be grateful for any help.
I'm trying to draw a simple star like grid on a panel. I'm trying to draw lines
at 30, 60, 90, 120, etc. degrees from a point that I pick with the mouse. I'm
using the equation of a line, y-y1 = m(x-x1) to draw the line. The trouble is
the angle at which the line is drawn changes depending on what part of the panel
I click on. Can anybody please help? It should be such a simple task but it just
won't work.
|
- Re: [JAVA3D] I have get distance fron (0,0,0): how ca... Paraskevas Orfanides
- Re: [JAVA3D] I have get distance fron (0,0,0): h... Ahmed Shakil
- [JAVA3D] Question about Rotations Zak
- Re: [JAVA3D] Question about Rotations Adriano Cavalcanti
- Re: [JAVA3D] Question about Rotation... Syrus Mesdaghi
- [JAVA3D] Please help for Java3D Interface firas
- Paula Keohan
