Пример #1
0
 // Use this for initialization
 public Mesh GetGroundMesh()
 {
     CreateDivisions();
     GoogleElevation ge = new GoogleElevation();
     ge.coordinates = coordinates;
     ge.SyncGetHeights();
     heigths = ge.heights;
     CreateVertexes();
     return CreateGroundGeometry();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     GoogleElevation ge = new GoogleElevation();
     ge.coordinates.Add(41.177988f);
     ge.coordinates.Add(-8.598049f);
     ge.coordinates.Add(41.177774f);
     ge.coordinates.Add(-8.596877f);
     ge.SyncGetHeights();
     heights = ge.heights;
 }