Exemple #1
0
 private void EnsureDeduplicationMap()
 {
     // Makes sure that we have an original -> duplicate vertex index map to work with.
     // If we don't, it creates an identity mapping between the original and the Collada vertices.
     // To deduplicate GR2 vertex data, Deduplicate() should be called before any Collada export call.
     if (Deduplicator == null)
     {
         Deduplicator = new VertexDeduplicator();
         Deduplicator.MakeIdentityMapping(Vertices);
     }
 }
Exemple #2
0
 public void Deduplicate()
 {
     Deduplicator = new VertexDeduplicator();
     Deduplicator.Deduplicate(Vertices);
 }