OPENGL cube developed by C++, support mouse drag and drop