コード例 #1
0
 def test_3d_identity(self):
     a = primitives.line3d()
     self.assertEqual(a.primitive, MeshPrimitive.LINES)
     self.assertFalse(a.is_indexed)
コード例 #2
0
 def test_3d(self):
     a = primitives.line3d((1.0, 2.0, 1.1), (7.0, 3.2, 1.1))
     self.assertEqual(a.primitive, MeshPrimitive.LINES)
     self.assertFalse(a.is_indexed)