swaptm(3G)

swaptm - toggles the triangle mesh register pointer

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     swaptm - toggles the triangle mesh register pointer

FORTRAN 77 SPECIFICATION
     subroutine swaptm

PARAMETERS
     none

DESCRIPTION
     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.  swaptm toggles the pointer without
     specification of a new vertex (and no triangle is drawn).

SEE ALSO
     bgntme, v

NOTE
     Operation is undefined if swaptm is called before the second vertex of a
     triangle mesh is specified.