Where can I find example code on mouse movements and polygon rotation in OpenGL?
2 answers
If you want to use the JOGL java libraries, a very useful code example can be found here .
JOGL is pretty straight forward and easy to understand. Just keep in mind that the object oriented nature may make future / more complex OpenGL work in C / C ++ more challenging.
The MainWindow.java in the .zip below is an example of what you are looking for. The code comes from the above link. code.zip
0
source to share