Convenience method creating and registering a `PointPrim`.
(self, position=None, color=None, size=2)
| 654 | return xfo |
| 655 | |
| 656 | def drawPoint(self, position=None, color=None, size=2): |
| 657 | """ |
| 658 | Convenience method creating and registering a `PointPrim`. |
| 659 | """ |
| 660 | point = PointPrim(position, color, size) |
| 661 | self.registerPrimitive(point) |
| 662 | return point |
| 663 | |
| 664 | def drawTriangle(self, points, colors): |
| 665 | triangle = TrianglePrim(points, colors) |