/// <summary> /// Generate the mesh for the planet /// </summary> private void GenerateMesh() { for (int i = 0; i < MAX_FACES; ++i) { if (meshFilters[i].gameObject.activeSelf) { terrainFaces[i].ConstructMesh(); } } colourGenerator.UpdatedElevation(shapeGenerator.elevationMinMax); }