Ejemplo n.º 1
0
 public void TestCreateUVMorph()
 {
     var baseVertices = PEMockFactory.CreateVertices(new[]
     {
         new V2(0.0f, 0.0f),
         new V2(0.1f, 0.1f),
         new V2(0.2f, 0.2f),
     }).ToList();
     IPXPmx baseModel = PEMockFactory.CreateModel(baseVertices, new[] { (0, 1, 2) });
Ejemplo n.º 2
0
 public void TestUVMesh_SingleRange()
 {
     var model = PEMockFactory.CreateModel(
         new[] {
         new V2(0.1f, 0.1f),
         new V2(0.1f, 0.9f),
         new V2(0.9f, 0.1f),
         new V2(0.9f, 0.9f),
     },
         new[] {