Create a random terrain with faulting method using opengl
1.setting
This project use glfw, glad and glm library, you need to include these libraries into visual studio.
Right click terrainGenerator->Properties in SolutionExplorer
Add the address of "...glfw-3.3.3.bin.WIN32\include" into C++/C->general->Additinal Include Directories
Add "glfw3.lib;kernel32.lib;" to Linker->Input->Additional Dependencies
3.appendix The shader.h file in this project comes form http://www.learnopengles.com/