See section 12.7.4 for equilateral triangles in space.
The equilateral_triangle command takes two arguments and an optional third. The two mandatory arguments are points A and B.
equilateral_triangle returns and draws the equilateral triangle
ABC, where AB to AC is counterclockwise.
Input:
Output:
The optional argument needs to be a variable name
which is assigned to vertex C.
Input:
Output:
Input:
Output: