MCPcopy Create free account
hub / github.com/csaez/mscreen / __init__

Method __init__

mscreen.py:483–491  ·  view source on GitHub ↗
(self, points=None, colors=None)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected