Exemple #1
0
 private static void VertexBHash(OMVR.Vertex vert, BHasher hasher)
 {
     hasher.Add(vert.Position.X);
     hasher.Add(vert.Position.Y);
     hasher.Add(vert.Position.Z);
     hasher.Add(vert.Normal.X);
     hasher.Add(vert.Normal.Y);
     hasher.Add(vert.Normal.Z);
     hasher.Add(vert.TexCoord.X);
     hasher.Add(vert.TexCoord.Y);
 }
Exemple #2
0
 // Add my hashes to an in-progress hashing
 public void GetBHash(BHasher hasher)
 {
     hasher.Add(mesh.GetBHash());
     hasher.Add(material.GetBHash());
 }