See Section 13.8.1 for the triangle command in the plane.
The triangle command creates triangles.
Example. Input:
Output: