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) });
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[] {