Currently I am trying to click and drag drawings around in my opengl window however I don’t know how to convert to opengl coordinates. I’m making a windows application so I don’t want to use external libraries such as glut so I’ll learn how to do this in c++. I’m currently getting the mouse position GET_X_LPARAM(lparam), GET_Y_LPARAM(lparam).
Can anyone help?