PDA

View Full Version : OPENGL ques



lily123
August 24th, 2009, 08:26 AM
hi everybody,

Im trying to draw a circle using opengl. I want to click and drag on the screen and based on my mouse motion a circle is to be drawn. I have used gl_line_loop but i dont knoiw how to detect the coordinates on mouseDragged to mark as center and to find the radius based on the last point till where i stop dragging the mouse. can someone help ? and im using java.


Thanks,
lily