References https://www.796t.com/content/1547206862.html
- $(SolutionDir) -> sln directory
- $(ProjectDir) -> xxx.vcxproj
- Use x86!!!
- Using vs 2019 to include library path
- Using .h to include glew,glm, freeglut, myOpenGLBase
- Include Assets directory for dlls
- create a GLUTWindow.h 2022/07/31
- create textureImage.h .cpp 2022/08/07
- update register function
You can use RegisterFunction(void (*ptr)(void), GLUTWindow::RegisterType type);
only to cast function type then will transfer back to original. ** Timer is more speical** has RegisterTimerFunction