Octahedra: octahedron

### 14.17.3 Octahedra: octahedron

The octahedron command creates regular octahedra.

- octahedron takes three arguments:
  A,B,C, three points.
- octahedron(A,B,C) returns and draws the octahedron centered at A which has a vertex at B and with four vertices in the plane ABC.

#### Example.

Input:

octahedron([0,0,0],[0,0,5],[0,1,0])

or:

octahedron([0,0,0],[0,5,0],[0,0,1])

or:

octahedron([0,0,0],[5,0,0],[0,0,1])

Output: