Login  Register

GLCanvas's mouseDragged problem

Posted by JimmyCai on Mar 12, 2013; 2:59am
URL: https://forum.jogamp.org/GLCanvas-s-mouseDragged-problem-tp4028590.html

Hi,
I am writing a program of drawing lines. In init method of GLEventListener, I add a mouesMotionListener to GLCanvas, in mouseDragged method of mouseMotionListener, I add Points to my lines, but I find that the mouseDragged method picks up points slowly, if I drag mouse quickly, it did't pick up enough points. is it triggering mouseDragged event at set intervals? if so, can I change the interval time? Or what should I do?

Thanks in advance.