///Initializes the image by performing all perlin, mesh, heightmap, and other calls that generate the terrain. void init(){ glfwEnable(GLFW_KEY_REPEAT); ///--- Initializes the Perlin noise texture ///--- Initializes the fBm texture ///--- Sets background color glClearColor(/*gray*/ .8,.8,.8, /*solid*/1.0 ); glEnable(GL_DEPTH_TEST); ///--- Initlializes the terrain quad mesh (?takes the fBm as an input for displacing the height of vertices?) quad.init(perlin.init()); }