Please help, just started
I've just started learning OpenGL. It already looks like i'mgoing to like it. But unfortunately I got stuck on something. I want to define a specific area so when a mouse is over that area i programme could perform a function.
Could anyone please help me.
Looking forward to your replies.
Re: Please help, just started
OpenGL is for graphics output only. So if you want to implement such a feature you need to use functions of your OS, meaning checking mouse XY-Position on screen and then performing some action.
Maybe GLUT, which is a library that eases some OpenGL things, provides some sort of function that could do this for you.