def test_mesh_has_uv01(self): mesh1 = Mesh(vertices=np.arange(3), polygon_vertex_indices=[[0, 1, 2]]) self.assertFalse(mesh1.has_uv())
def test_mesh_has_uv02(self): mesh1 = Mesh(vertices=np.arange(3), polygon_vertex_indices=[[0, 1, 2]], texture_vertices=np.arange(3), texture_polygon_vertex_indices=[[2, 1, 0]]) self.assertTrue(mesh1.has_uv())