Ejemplo n.º 1
0
 protected void AddQuad(MeshVertex a, MeshVertex b, MeshVertex c, MeshVertex d, Texture2D noiseTexture, float noiseScale, float strength, Vector3 texArrayIndices)
 {
     AddTriangle(a, b, d, noiseTexture, noiseScale, strength, texArrayIndices);
     AddTriangle(d, b, c, noiseTexture, noiseScale, strength, texArrayIndices);
 }
Ejemplo n.º 2
0
 protected void AddQuad(MeshVertex a, MeshVertex b, MeshVertex c, MeshVertex d, Texture2D noiseTexture, float noiseScale, float strength)
 {
     AddTriangle(a, b, d, noiseTexture, noiseScale, strength);
     AddTriangle(d, b, c, noiseTexture, noiseScale, strength);
 }