PEXtCube(3PEXt)

NAME
PEXtCube — create a cube using six FILL AREA structure elements

SYNOPSIS
#include <PEXt/PEXt.h>
#include <PEXt/Primitive.h>

void PEXtCube (side)
    Pfloat    side;

  Required PHIGS Operating States
(PHOP, *, STOP, *)

DESCRIPTION
PEXtCube creates a cube, centered on the origin, whose sides are of length side using six FILL AREA structure elements. Since it uses four structure elements to build the cube, it requires a current edit mode of PINSERT; otherwise only the sixth side of the cube will remain, having replaced the previous five elements for the other faces.

RETURN VALUE
None

BUGS
The routine should use a quadrilateral mesh, or a set of fill area sets to generate the cube in a single structure element.

AUTHOR
Rich Thomson <rthomson@dsd.es.com>
Design Systems Division
Evans & Sutherland Computer Corporation