495051525354555657
} } public void testPerforate() { m.removeFace(m.getFaces().get(0)); WEFace f = (WEFace) m.getFaces().get(0); m.perforateFace(f, 0.5f); System.out.println(m.edges.size() + " edges"); }
56575859606162636465
System.out.println(m.edges.size() + " edges"); } public void testRemoveFace() { assertEquals(5, m.edges.size()); WEFace f = (WEFace) m.getFaces().get(0); m.removeFace(f); assertEquals(3, m.edges.size()); assertEquals(3, m.vertices.size()); }