Obtaining the x- and y-coordinates of a Mouse Click in JOGL

Started by
-1 comments, last by JavaIsGood 15 years, 8 months ago
Thanks for answering my thread! I was wondering how to obtain the x- and y-coordinates of a mouse click in JOGL. If I use MouseEvent to obtain these values, the numbers just represent the pixel location of the click. I already know how to obtain the minimum and maximum depth, but there is no store for the x- and y-coordinate of a mouse click in the IntBuffer supplied with the GL.glSelectBuffer( ) command. Thanks for your help!

This topic is closed to new replies.

Advertisement