def test_wireframe(self): a = primitives.square_wireframe() self.assertEqual(a.primitive, MeshPrimitive.LINE_LOOP) self.assertFalse(a.is_indexed)
def test_2d(self): a = meshtools.compile(primitives.square_wireframe()) self.assertEqual(a.primitive, gl.MeshPrimitive.LINE_LOOP) self.assertEqual(a.count, 4)