// Build a mapping table for each original mesh vertex to find the vertices that share its position public void BuildPS3Mapping(Vector3[] oldverts, Vector3[] newverts) { ps3verts = new Vector3[newverts.Length]; ps3mapping = new MegaPS3Vert[oldverts.Length]; for (int i = 0; i < oldverts.Length; i++) { MegaPS3Vert ps3vert = new MegaPS3Vert(); ps3vert.indices = FindMatches(oldverts[i], newverts); ps3mapping[i] = ps3vert; } }
// Build a mapping table for each original mesh vertex to find the vertices that share its position public void BuildPS3Mapping(Vector3[] oldverts, Vector3[] newverts) { ps3verts = new Vector3[newverts.Length]; ps3mapping = new MegaPS3Vert[oldverts.Length]; for ( int i = 0; i < oldverts.Length; i++ ) { MegaPS3Vert ps3vert = new MegaPS3Vert(); ps3vert.indices = FindMatches(oldverts[i], newverts); ps3mapping[i] = ps3vert; } }