internal void SetTexturesCoincident(IEnumerable <int> vertices) { var lookup = sharedTextureLookup; SharedVertex.SetCoincident(ref lookup, vertices); SetSharedTextures(lookup); }
/// <summary> /// Sets the passed vertices as being considered coincident by the ProBuilderMesh. /// </summary> /// <remarks> /// Note that it is up to the caller to ensure that the passed vertices are indeed sharing a position. /// </remarks> /// <param name="vertices">Returns a list of vertices to be associated as coincident.</param> public void SetVerticesCoincident(IEnumerable <int> vertices) { var lookup = sharedVertexLookup; List <int> coincident = new List <int>(); GetCoincidentVertices(vertices, coincident); SharedVertex.SetCoincident(ref lookup, coincident); SetSharedVertices(lookup); }