/// <summary> /// Get a vertex that has been spherified and moved according to the shapegenerator /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> private Vector3 GetVertex(float x, float y) { Vector3 v; v.x = x + data.Offset.x; v.y = y + data.Offset.y; v.z = data.Resolution * Mathf.Pow(2, data.LevelOfDetail); return(shapeGenerator.CalculatePoint(GetSpherifiedVertexPosition(v))); }