swaptmesh(3G) swaptmesh(3G)
swaptmesh - toggles the triangle mesh register pointer
void swaptmesh()
none
The triangle mesh hardware stores two vertices. After each new vertex is
specified (and a triangle comprising the new vertex and the two stored
vertices is drawn), one of the stored vertices is replaced by the new
vertex. The value of a two-value pointer determines which vertex is
replaced. This pointer is toggled after each vertex, causing alternate
stored vertices to be replaced. swaptmesh toggles the pointer without
specification of a new vertex (and no triangle is drawn).
bgntmesh, v
Operation is undefined if swaptmesh is called before the second vertex of
a triangle mesh is specified.
PPPPaaaaggggeeee 1111 [ Back ]
|