(self, points=None, colors=None)
| 481 | Primitive representing a triangle solid mesh. |
| 482 | """ |
| 483 | def __init__(self, points=None, colors=None): |
| 484 | super(TrianglePrim, self).__init__() |
| 485 | self._points = list() # control points |
| 486 | self._drawPoints = list() # drawable points |
| 487 | self._prePoints = list() # pre-transform points |
| 488 | self._colors = None |
| 489 | if points: |
| 490 | self.points = points |
| 491 | self.colors = colors or COLOR_BLACK |
| 492 | |
| 493 | @property |
| 494 | def points(self): |